Commit e9e4208a by Will Cohen Committed by William Cohen

alpha.h (CONDITIONAL_REGISTER_USAGE): Added local declaration of variable i.

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.

From-SVN: r45076
parent 29d2c7a5
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> 2001-08-21 Richard Henderson <rth@redhat.com>
* crtstuff.c: Fix thinko last change. Move list tails to start * crtstuff.c: Fix thinko last change. Move list tails to start
......
...@@ -385,10 +385,14 @@ extern const char *alpha_mlat_string; /* For -mmemory-latency= */ ...@@ -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 On the Alpha, we use this to disable the floating-point registers when
they don't exist. */ they don't exist. */
#define CONDITIONAL_REGISTER_USAGE \ #define CONDITIONAL_REGISTER_USAGE \
if (! TARGET_FPREGS) \ { \
for (i = 32; i < 63; i++) \ int i; \
fixed_regs[i] = call_used_regs[i] = 1; 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. */ /* Show we can debug even without a frame pointer. */
#define CAN_DEBUG_WITHOUT_FP #define CAN_DEBUG_WITHOUT_FP
......
...@@ -820,6 +820,7 @@ extern int rs6000_debug_arg; /* debug argument handling */ ...@@ -820,6 +820,7 @@ extern int rs6000_debug_arg; /* debug argument handling */
#define CONDITIONAL_REGISTER_USAGE \ #define CONDITIONAL_REGISTER_USAGE \
{ \ { \
int i; \
if (! TARGET_POWER) \ if (! TARGET_POWER) \
fixed_regs[64] = 1; \ fixed_regs[64] = 1; \
if (TARGET_64BIT) \ if (TARGET_64BIT) \
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment