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
This commit is contained in:
Ulrich Weigand 2002-10-09 11:29:57 +00:00 committed by Ulrich Weigand
parent 5cc6732359
commit a3745024fa
2 changed files with 6 additions and 1 deletions

View File

@ -1,3 +1,8 @@
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>
* cppmacro.c (paste_tokens): Only allow / to paste with =.

View File

@ -7582,7 +7582,7 @@ insn_live_p (insn, counts)
int *counts;
{
int i;
if (flag_non_call_exceptions && may_trap_p (insn))
if (flag_non_call_exceptions && may_trap_p (PATTERN (insn)))
return true;
else if (GET_CODE (PATTERN (insn)) == SET)
return set_live_p (PATTERN (insn), insn, counts);