aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--gcc/ChangeLog4
-rw-r--r--gcc/df-scan.c2
2 files changed, 5 insertions, 1 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog
index 8575c25..4544e9a 100644
--- a/gcc/ChangeLog
+++ b/gcc/ChangeLog
@@ -1,3 +1,7 @@
+2008-12-19 Steve Ellcey <sje@cup.hp.com>
+
+ * df-scan.c ( df_hard_reg_init): Move declaration of i.
+
2008-12-19 Jakub Jelinek <jakub@redhat.com>
PR bootstrap/37739
diff --git a/gcc/df-scan.c b/gcc/df-scan.c
index 14434d2..6888fb4 100644
--- a/gcc/df-scan.c
+++ b/gcc/df-scan.c
@@ -4104,8 +4104,8 @@ static bool initialized = false;
void
df_hard_reg_init (void)
{
- int i;
#ifdef ELIMINABLE_REGS
+ int i;
static const struct {const int from, to; } eliminables[] = ELIMINABLE_REGS;
#endif
if (initialized)