mirror of
git://gcc.gnu.org/git/gcc.git
synced 2025-01-13 06:44:29 +08:00
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:
parent
5cc6732359
commit
a3745024fa
@ -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 =.
|
||||
|
@ -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);
|
||||
|
Loading…
Reference in New Issue
Block a user