diff options
-rw-r--r-- | gcc/ChangeLog | 5 | ||||
-rw-r--r-- | gcc/global.c | 2 |
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) |