aboutsummaryrefslogtreecommitdiff
path: root/gcc/recog.c
diff options
context:
space:
mode:
Diffstat (limited to 'gcc/recog.c')
-rw-r--r--gcc/recog.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/gcc/recog.c b/gcc/recog.c
index 6f4a733..3135e6b 100644
--- a/gcc/recog.c
+++ b/gcc/recog.c
@@ -3276,7 +3276,8 @@ peephole2_optimize (dump_file)
XEXP (note, 0),
REG_NOTES (x));
- if (x != bb->end && eh_edge)
+ if (x != bb->end && eh_edge
+ && can_throw_internal (x))
{
edge nfte, nehe;
int flags;