OSDN Git Service

PR bootstrap/48469
authorfroydnj <froydnj@138bc75d-0d04-0410-961f-82ee72b054a4>
Tue, 5 Apr 2011 19:33:49 +0000 (19:33 +0000)
committerfroydnj <froydnj@138bc75d-0d04-0410-961f-82ee72b054a4>
Tue, 5 Apr 2011 19:33:49 +0000 (19:33 +0000)
* combine.c (combine_instructions): #ifdef AUTO_INC_DEC links
declaration.

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

gcc/ChangeLog
gcc/combine.c

index b7ae95a..8d8b8e6 100644 (file)
@@ -1,5 +1,11 @@
 2011-04-05  Nathan Froyd  <froydnj@codesourcery.com>
 
+       PR bootstrap/48469
+       * combine.c (combine_instructions): #ifdef AUTO_INC_DEC links
+       declaration.
+
+2011-04-05  Nathan Froyd  <froydnj@codesourcery.com>
+
        * combine.c (combine_instructions) [AUTO_INC_DEC]: Declare links
        as an rtx.
        (try_combine) [AUTO_INC_DEC]: Declare a local link rtx.
index 3e4a38c..479ac6f 100644 (file)
@@ -1139,7 +1139,9 @@ combine_instructions (rtx f, unsigned int nregs)
       FOR_BB_INSNS (this_basic_block, insn)
         if (INSN_P (insn) && BLOCK_FOR_INSN (insn))
          {
+#ifdef AUTO_INC_DEC
             rtx links;
+#endif
 
             subst_low_luid = DF_INSN_LUID (insn);
             subst_insn = insn;