aboutsummaryrefslogtreecommitdiff
path: root/gcc
diff options
context:
space:
mode:
authorRichard Henderson <rth@gcc.gnu.org>2001-08-06 10:14:39 -0700
committerRichard Henderson <rth@gcc.gnu.org>2001-08-06 10:14:39 -0700
commitd7730f7a39dbbfb400ad22bb5aa6e9c5f4744763 (patch)
tree6e6ea539ca83880df0bf2b0be6715a2a613ce0e1 /gcc
parenta4d3961ad61b17eecfb6968552ae4e6704c64540 (diff)
downloadgcc-d7730f7a39dbbfb400ad22bb5aa6e9c5f4744763.zip
gcc-d7730f7a39dbbfb400ad22bb5aa6e9c5f4744763.tar.gz
gcc-d7730f7a39dbbfb400ad22bb5aa6e9c5f4744763.tar.bz2
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
Diffstat (limited to 'gcc')
-rw-r--r--gcc/except.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/gcc/except.c b/gcc/except.c
index 4397cfc..3bedec9 100644
--- a/gcc/except.c
+++ b/gcc/except.c
@@ -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),