From: Kazu Hirata Date: Tue, 14 Mar 2006 20:47:17 +0000 (+0000) Subject: re PR middle-end/26684 (ppc-Darwin bootstrap failure) X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=5b94780fcbd92a2e4c31449d8ab1817ce8d53468;p=gcc.git re PR middle-end/26684 (ppc-Darwin bootstrap failure) PR middle-end/26684 * reg-stack.c (stack_regs_mentioned_data): Put it undef #ifdef STACK_REGS. From-SVN: r112067 --- diff --git a/gcc/ChangeLog b/gcc/ChangeLog index 2cdf2b90c56..b4258bd0c3a 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 * pa/pa32-linux.h (CRT_CALL_STATIC_FUNCTION): Fix typo. diff --git a/gcc/reg-stack.c b/gcc/reg-stack.c index f77b2b3f313..09f74b45a80 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