From: sayle Date: Wed, 7 Feb 2007 21:29:17 +0000 (+0000) Subject: * global.c (compute_regsets): Move declatation of "i" inside of X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=808f5ffcad6bece52aa7d44f5ddb29259266dd2a;p=thirdparty%2Fgcc.git * 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 --- diff --git a/gcc/ChangeLog b/gcc/ChangeLog index b76b3dd189b1..15ef2a61b226 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,8 @@ +2007-02-07 Roger Sayle + + * global.c (compute_regsets): Move declatation of "i" inside of + #ifdef ELIMINABLE_REGS to avoid unused variable bootstrap failure. + 2007-02-07 Jakub Jelinek PR c++/30703 diff --git a/gcc/global.c b/gcc/global.c index 2271f3aa21b1..b6bfa4d9f39f 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)