diff options
Diffstat (limited to 'gcc')
-rw-r--r-- | gcc/ChangeLog | 7 | ||||
-rw-r--r-- | gcc/config/alpha/alpha.h | 12 | ||||
-rw-r--r-- | gcc/config/rs6000/rs6000.h | 1 |
3 files changed, 16 insertions, 4 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog index 8241176..75ee050 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,10 @@ +2001-08-21 Will Cohen <wcohen@redhat.com> + + * configure/alpha/alpha.h (CONDITIONAL_REGISTER_USAGE): Added local + declaration of variable i. + * configure/rs6000/rs6000.h (CONDITIONAL_REGISTER_USAGE): Added local + declaration of variable i. + 2001-08-21 Richard Henderson <rth@redhat.com> * crtstuff.c: Fix thinko last change. Move list tails to start diff --git a/gcc/config/alpha/alpha.h b/gcc/config/alpha/alpha.h index c1ffe4a..d12f581 100644 --- a/gcc/config/alpha/alpha.h +++ b/gcc/config/alpha/alpha.h @@ -385,10 +385,14 @@ extern const char *alpha_mlat_string; /* For -mmemory-latency= */ On the Alpha, we use this to disable the floating-point registers when they don't exist. */ -#define CONDITIONAL_REGISTER_USAGE \ - if (! TARGET_FPREGS) \ - for (i = 32; i < 63; i++) \ - fixed_regs[i] = call_used_regs[i] = 1; +#define CONDITIONAL_REGISTER_USAGE \ +{ \ + int i; \ + if (! TARGET_FPREGS) \ + for (i = 32; i < 63; i++) \ + fixed_regs[i] = call_used_regs[i] = 1; \ +} + /* Show we can debug even without a frame pointer. */ #define CAN_DEBUG_WITHOUT_FP diff --git a/gcc/config/rs6000/rs6000.h b/gcc/config/rs6000/rs6000.h index bc3f788..27d1d4b 100644 --- a/gcc/config/rs6000/rs6000.h +++ b/gcc/config/rs6000/rs6000.h @@ -820,6 +820,7 @@ extern int rs6000_debug_arg; /* debug argument handling */ #define CONDITIONAL_REGISTER_USAGE \ { \ + int i; \ if (! TARGET_POWER) \ fixed_regs[64] = 1; \ if (TARGET_64BIT) \ |