global.c (compute_regsets): Move declatation of "i" inside of #ifdef ELIMINABLE_REGS to avoid unused...

* global.c (compute_regsets): Move declatation of "i" inside of
	#ifdef ELIMINABLE_REGS to avoid unused variable bootstrap failure.

From-SVN: r121697
This commit is contained in:
Roger Sayle 2007-02-07 21:29:17 +00:00 committed by Roger Sayle
parent 56c9f04bb7
commit 28890c8243
2 changed files with 6 additions and 1 deletions

View file

@ -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

View file

@ -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)