aboutsummaryrefslogtreecommitdiff
path: root/gcc
diff options
context:
space:
mode:
authorKazu Hirata <kazu@codesourcery.com>2006-03-14 20:47:17 +0000
committerKazu Hirata <kazu@gcc.gnu.org>2006-03-14 20:47:17 +0000
commit5b94780fcbd92a2e4c31449d8ab1817ce8d53468 (patch)
tree4a71b060a585d7781c727edc244156e8b4a822b1 /gcc
parent840bd9f778b1fd68365b57aac7cf21a8b3a75620 (diff)
downloadgcc-5b94780fcbd92a2e4c31449d8ab1817ce8d53468.zip
gcc-5b94780fcbd92a2e4c31449d8ab1817ce8d53468.tar.gz
gcc-5b94780fcbd92a2e4c31449d8ab1817ce8d53468.tar.bz2
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
Diffstat (limited to 'gcc')
-rw-r--r--gcc/ChangeLog4
-rw-r--r--gcc/reg-stack.c4
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