Commit 49a18670 by Geoffrey Keating Committed by Geoffrey Keating

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
parent 81d87bcc
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> 2001-05-27 Stan Shebs <shebs@apple.com>
* objc/objc-act.c: Add/fix various comments. * objc/objc-act.c: Add/fix various comments.
......
...@@ -1005,7 +1005,7 @@ update_equiv_regs () ...@@ -1005,7 +1005,7 @@ update_equiv_regs ()
reg_equiv[regno].loop_depth = loop_depth; reg_equiv[regno].loop_depth = loop_depth;
/* Don't mess with things live during setjmp. */ /* 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 /* Note that the statement below does not affect the priority
in local-alloc! */ in local-alloc! */
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment