Commit a3745024 by Ulrich Weigand Committed by Ulrich Weigand

cse.c (insn_live_p): Pass insn pattern, not full insn to may_trap_p.

	* cse.c (insn_live_p): Pass insn pattern, not full insn
	to may_trap_p.

From-SVN: r57982
parent 5cc67323
2002-10-09 Ulrich Weigand <uweigand@de.ibm.com>
* cse.c (insn_live_p): Pass insn pattern, not full insn
to may_trap_p.
2002-10-09 Neil Booth <neil@daikokuya.co.uk> 2002-10-09 Neil Booth <neil@daikokuya.co.uk>
* cppmacro.c (paste_tokens): Only allow / to paste with =. * cppmacro.c (paste_tokens): Only allow / to paste with =.
......
...@@ -7582,7 +7582,7 @@ insn_live_p (insn, counts) ...@@ -7582,7 +7582,7 @@ insn_live_p (insn, counts)
int *counts; int *counts;
{ {
int i; int i;
if (flag_non_call_exceptions && may_trap_p (insn)) if (flag_non_call_exceptions && may_trap_p (PATTERN (insn)))
return true; return true;
else if (GET_CODE (PATTERN (insn)) == SET) else if (GET_CODE (PATTERN (insn)) == SET)
return set_live_p (PATTERN (insn), insn, counts); return set_live_p (PATTERN (insn), insn, counts);
......
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