mirror of
https://gcc.gnu.org/git/gcc.git
synced 2024-11-27 05:44:15 +08:00
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
This commit is contained in:
parent
81d87bcc58
commit
49a1867065
@ -1,3 +1,8 @@
|
||||
2001-05-27 Geoffrey Keating <geoffk@redhat.com>
|
||||
|
||||
* local-alloc.c (update_equiv_regs): Don't eliminate constant
|
||||
expressions at -O0.
|
||||
|
||||
2001-05-27 Stan Shebs <shebs@apple.com>
|
||||
|
||||
* objc/objc-act.c: Add/fix various comments.
|
||||
|
@ -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! */
|
||||
|
Loading…
Reference in New Issue
Block a user