aboutsummaryrefslogtreecommitdiff
path: root/gcc
diff options
context:
space:
mode:
authorNathan Froyd <froydnj@codesourcery.com>2011-04-05 19:33:49 +0000
committerNathan Froyd <froydnj@gcc.gnu.org>2011-04-05 19:33:49 +0000
commite532f586e21184719c66dcedeae98c55d2c62410 (patch)
tree3580ac19328759661ff95f5fef499bab2abcee8e /gcc
parent32827f18cdf0b99d64b8fa2fa4f2c77e2ca9b8f0 (diff)
downloadgcc-e532f586e21184719c66dcedeae98c55d2c62410.zip
gcc-e532f586e21184719c66dcedeae98c55d2c62410.tar.gz
gcc-e532f586e21184719c66dcedeae98c55d2c62410.tar.bz2
re PR bootstrap/48469 (bootstrap failure)
PR bootstrap/48469 * combine.c (combine_instructions): #ifdef AUTO_INC_DEC links declaration. From-SVN: r171998
Diffstat (limited to 'gcc')
-rw-r--r--gcc/ChangeLog6
-rw-r--r--gcc/combine.c2
2 files changed, 8 insertions, 0 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog
index b7ae95a..8d8b8e6 100644
--- a/gcc/ChangeLog
+++ b/gcc/ChangeLog
@@ -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.
diff --git a/gcc/combine.c b/gcc/combine.c
index 3e4a38c..479ac6f 100644
--- a/gcc/combine.c
+++ b/gcc/combine.c
@@ -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;