diff options
author | Geoffrey Keating <geoffk@redhat.com> | 2001-05-28 02:21:28 +0000 |
---|---|---|
committer | Geoffrey Keating <geoffk@gcc.gnu.org> | 2001-05-28 02:21:28 +0000 |
commit | 49a18670657eb098bc1f97326f136444b5bfc877 (patch) | |
tree | 71bcdbd9c96acf1b1c7b60b41d9317979362c0f1 /gcc/local-alloc.c | |
parent | 81d87bcc58c3f7e0b91f7ce5e6b08e635a8fb032 (diff) | |
download | gcc-49a18670657eb098bc1f97326f136444b5bfc877.zip gcc-49a18670657eb098bc1f97326f136444b5bfc877.tar.gz gcc-49a18670657eb098bc1f97326f136444b5bfc877.tar.bz2 |
local-alloc.c (update_equiv_regs): Don't eliminate constant expressions at -O0.
* local-alloc.c (update_equiv_regs): Don't eliminate constant
expressions at -O0.
From-SVN: r42667
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 c83d4f1..13155f3 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! */ |