except.c (convert_from_eh_region_ranges_1): Never mark USE or CLOBBER insns as throwing.
authorRichard Henderson <rth@gcc.gnu.org>
Mon, 6 Aug 2001 17:14:39 +0000 (10:14 -0700)
committerRichard Henderson <rth@gcc.gnu.org>
Mon, 6 Aug 2001 17:14:39 +0000 (10:14 -0700)
        * except.c (convert_from_eh_region_ranges_1): Never mark
        USE or CLOBBER insns as throwing.

From-SVN: r44666

gcc/except.c

index 4397cfc963dc4f1da1b4e7bb68326fe72ec13aed..3bedec97f51f45e5169d8cb3bd5c0c43d890b790 100644 (file)
@@ -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),