OSDN Git Service
(root)
/
pf3gnuchains
/
gcc-fork.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
447f6a7
)
* except.c (convert_from_eh_region_ranges_1): Never mark
author
rth
<rth@138bc75d-0d04-0410-961f-82ee72b054a4>
Mon, 6 Aug 2001 17:14:39 +0000
(17:14 +0000)
committer
rth
<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
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),