diff options
author | geoffk <geoffk@138bc75d-0d04-0410-961f-82ee72b054a4> | 2001-05-28 02:21:28 +0000 |
---|---|---|
committer | geoffk <geoffk@138bc75d-0d04-0410-961f-82ee72b054a4> | 2001-05-28 02:21:28 +0000 |
commit | 06baec783d2f87092f43fcacedf7aaabae0b65ab (patch) | |
tree | 71bcdbd9c96acf1b1c7b60b41d9317979362c0f1 /gcc/local-alloc.c | |
parent | de160d4bc65092002d050a04d401d7a3cf09064e (diff) | |
download | gcc-06baec783d2f87092f43fcacedf7aaabae0b65ab.tar.gz |
* local-alloc.c (update_equiv_regs): Don't eliminate constant
expressions at -O0.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@42667 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/local-alloc.c')
-rw-r--r-- | gcc/local-alloc.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/gcc/local-alloc.c b/gcc/local-alloc.c index c83d4f145f5..13155f3a6b5 100644 --- a/gcc/local-alloc.c +++ b/gcc/local-alloc.c @@ -1005,7 +1005,7 @@ update_equiv_regs () reg_equiv[regno].loop_depth = loop_depth; /* Don't mess with things live during setjmp. */ - if (REG_LIVE_LENGTH (regno) >= 0) + if (REG_LIVE_LENGTH (regno) >= 0 && optimize) { /* Note that the statement below does not affect the priority in local-alloc! */ |