OSDN Git Service

* except.c (convert_from_eh_region_ranges_1): Never mark
authorrth <rth@138bc75d-0d04-0410-961f-82ee72b054a4>
Mon, 6 Aug 2001 17:14:39 +0000 (17:14 +0000)
committerrth <rth@138bc75d-0d04-0410-961f-82ee72b054a4>
Mon, 6 Aug 2001 17:14:39 +0000 (17:14 +0000)
        USE or CLOBBER insns as throwing.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@44666 138bc75d-0d04-0410-961f-82ee72b054a4

gcc/except.c

index 4397cfc..3bedec9 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),