projects
/
platform
/
upstream
/
gcc.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
a4d3961
)
except.c (convert_from_eh_region_ranges_1): Never mark USE or CLOBBER insns as throwing.
author
Richard Henderson
<rth@gcc.gnu.org>
Mon, 6 Aug 2001 17:14:39 +0000
(10:14 -0700)
committer
Richard 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
patch
|
blob
|
history
diff --git
a/gcc/except.c
b/gcc/except.c
index
4397cfc
..
3bedec9
100644
(file)
--- 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),