summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorsayle <sayle@138bc75d-0d04-0410-961f-82ee72b054a4>2007-02-07 21:29:17 +0000
committersayle <sayle@138bc75d-0d04-0410-961f-82ee72b054a4>2007-02-07 21:29:17 +0000
commit808f5ffcad6bece52aa7d44f5ddb29259266dd2a (patch)
tree918e18dafe9b656c36ffb535910b45ec3a02ba9f
parent0ab206a123dabe894de40f135233f4d657794b85 (diff)
downloadppe42-gcc-808f5ffcad6bece52aa7d44f5ddb29259266dd2a.tar.gz
ppe42-gcc-808f5ffcad6bece52aa7d44f5ddb29259266dd2a.zip
* global.c (compute_regsets): Move declatation of "i" inside of
#ifdef ELIMINABLE_REGS to avoid unused variable bootstrap failure. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@121697 138bc75d-0d04-0410-961f-82ee72b054a4
-rw-r--r--gcc/ChangeLog5
-rw-r--r--gcc/global.c2
2 files changed, 6 insertions, 1 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog
index b76b3dd189b..15ef2a61b22 100644
--- a/gcc/ChangeLog
+++ b/gcc/ChangeLog
@@ -1,3 +1,8 @@
+2007-02-07 Roger Sayle <roger@eyesopen.com>
+
+ * global.c (compute_regsets): Move declatation of "i" inside of
+ #ifdef ELIMINABLE_REGS to avoid unused variable bootstrap failure.
+
2007-02-07 Jakub Jelinek <jakub@redhat.com>
PR c++/30703
diff --git a/gcc/global.c b/gcc/global.c
index 2271f3aa21b..b6bfa4d9f39 100644
--- a/gcc/global.c
+++ b/gcc/global.c
@@ -346,8 +346,8 @@ compute_regsets (char asm_clobbered[FIRST_PSEUDO_REGISTER],
{
#ifdef ELIMINABLE_REGS
static const struct {const int from, to; } eliminables[] = ELIMINABLE_REGS;
-#endif
size_t i;
+#endif
int need_fp
= (! flag_omit_frame_pointer
|| (current_function_calls_alloca && EXIT_IGNORE_STACK)
OpenPOWER on IntegriCloud