mirror of
git://gcc.gnu.org/git/gcc.git
synced 2025-01-11 13:45:27 +08:00
except.c (convert_from_eh_region_ranges_1): Never mark USE or CLOBBER insns as throwing.
* except.c (convert_from_eh_region_ranges_1): Never mark USE or CLOBBER insns as throwing. From-SVN: r44666
This commit is contained in:
parent
a4d3961ad6
commit
d7730f7a39
@ -1240,6 +1240,8 @@ convert_from_eh_region_ranges_1 (pinsns, orig_sp, cur)
|
||||
/* If we wanted exceptions for non-call insns, then
|
||||
any may_trap_p instruction could throw. */
|
||||
|| (flag_non_call_exceptions
|
||||
&& GET_CODE (PATTERN (insn)) != CLOBBER
|
||||
&& GET_CODE (PATTERN (insn)) != USE
|
||||
&& may_trap_p (PATTERN (insn)))))
|
||||
{
|
||||
REG_NOTES (insn) = alloc_EXPR_LIST (REG_EH_REGION, GEN_INT (cur),
|
||||
|
Loading…
Reference in New Issue
Block a user