]> git.ipfire.org Git - thirdparty/gcc.git/commitdiff
* lra-constraints.c (choose_split_class): Add ATTRIBUTE_UNUSED to
authoramylaar <amylaar@138bc75d-0d04-0410-961f-82ee72b054a4>
Wed, 31 Oct 2012 02:51:26 +0000 (02:51 +0000)
committeramylaar <amylaar@138bc75d-0d04-0410-961f-82ee72b054a4>
Wed, 31 Oct 2012 02:51:26 +0000 (02:51 +0000)
        hard_reg_class.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@193012 138bc75d-0d04-0410-961f-82ee72b054a4

gcc/ChangeLog
gcc/lra-constraints.c

index 4896022a1aa542dabcacbe336081c7d6e2334faf..7a9f300a4dfc65b5c83aa58f625517d8aa38e427 100644 (file)
@@ -1,3 +1,8 @@
+2012-10-31  Joern Rennecke  <joern.rennecke@embecosm.com>
+
+       * lra-constraints.c (choose_split_class): Add ATTRIBUTE_UNUSED to
+       hard_reg_class.
+
 2012-10-30  Alexandre Oliva <aoliva@redhat.com>
 
        PR debug/54551
index 2749a13c00244b7734507aa2ce3ff69424e6b196..7f19ad1f43c63bbbba184998044eff43af5e6d00 100644 (file)
@@ -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))