From a3745024fae49fd59bb69e34726249315478149b Mon Sep 17 00:00:00 2001 From: Ulrich Weigand Date: Wed, 9 Oct 2002 11:29:57 +0000 Subject: [PATCH] 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 --- gcc/ChangeLog | 5 +++++ gcc/cse.c | 2 +- 2 files changed, 6 insertions(+), 1 deletion(-) diff --git a/gcc/ChangeLog b/gcc/ChangeLog index 6653ea4a41d..fa25ad7351e 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,8 @@ +2002-10-09 Ulrich Weigand + + * cse.c (insn_live_p): Pass insn pattern, not full insn + to may_trap_p. + 2002-10-09 Neil Booth * cppmacro.c (paste_tokens): Only allow / to paste with =. diff --git a/gcc/cse.c b/gcc/cse.c index 29c771b93f6..75182d8670f 100644 --- a/gcc/cse.c +++ b/gcc/cse.c @@ -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); -- 2.30.2