From: amylaar Date: Wed, 31 Oct 2012 02:51:26 +0000 (+0000) Subject: * lra-constraints.c (choose_split_class): Add ATTRIBUTE_UNUSED to X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=d810a474fc3a92c1056240df19215b57a0f7bd2a;p=thirdparty%2Fgcc.git * lra-constraints.c (choose_split_class): Add ATTRIBUTE_UNUSED to hard_reg_class. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@193012 138bc75d-0d04-0410-961f-82ee72b054a4 --- diff --git a/gcc/ChangeLog b/gcc/ChangeLog index 4896022a1aa5..7a9f300a4dfc 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,8 @@ +2012-10-31 Joern Rennecke + + * lra-constraints.c (choose_split_class): Add ATTRIBUTE_UNUSED to + hard_reg_class. + 2012-10-30 Alexandre Oliva PR debug/54551 diff --git a/gcc/lra-constraints.c b/gcc/lra-constraints.c index 2749a13c0024..7f19ad1f43c6 100644 --- a/gcc/lra-constraints.c +++ b/gcc/lra-constraints.c @@ -3852,7 +3852,8 @@ choose_split_class (enum reg_class allocno_class, #else int i; enum reg_class cl, best_cl = NO_REGS; - enum reg_class hard_reg_class = REGNO_REG_CLASS (hard_regno); + enum reg_class hard_reg_class ATTRIBUTE_UNUSED + = REGNO_REG_CLASS (hard_regno); if (! SECONDARY_MEMORY_NEEDED (allocno_class, allocno_class, mode) && TEST_HARD_REG_BIT (reg_class_contents[allocno_class], hard_regno))