diff options
| -rw-r--r-- | gcc/ChangeLog | 4 | ||||
| -rw-r--r-- | gcc/reg-stack.c | 4 |
2 files changed, 6 insertions, 2 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog index 2cdf2b9..b4258bd 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -14,6 +14,10 @@ * combine.c (UWIDE_SHIFT_LEFT_BY_BITS_PER_WORD): Remove. + PR middle-end/26684 + * reg-stack.c (stack_regs_mentioned_data): Put it undef #ifdef + STACK_REGS. + 2006-03-14 John David Anglin <dave.anglin@nrc-cnrc.gc.ca> * pa/pa32-linux.h (CRT_CALL_STATIC_FUNCTION): Fix typo. diff --git a/gcc/reg-stack.c b/gcc/reg-stack.c index f77b2b3..09f74b4 100644 --- a/gcc/reg-stack.c +++ b/gcc/reg-stack.c @@ -177,6 +177,8 @@ DEF_VEC_I(char); DEF_VEC_ALLOC_I(char,heap); +#ifdef STACK_REGS + /* We use this array to cache info about insns, because otherwise we spend too much time in stack_regs_mentioned_p. @@ -185,8 +187,6 @@ DEF_VEC_ALLOC_I(char,heap); stack registers. */ static VEC(char,heap) *stack_regs_mentioned_data; -#ifdef STACK_REGS - #define REG_STACK_SIZE (LAST_STACK_REG - FIRST_STACK_REG + 1) /* This is the basic stack record. TOP is an index into REG[] such |
