summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorrth <rth@138bc75d-0d04-0410-961f-82ee72b054a4>2003-06-06 07:00:23 +0000
committerrth <rth@138bc75d-0d04-0410-961f-82ee72b054a4>2003-06-06 07:00:23 +0000
commit0a1fb8f828156215c3e694d74485dd2438fd6917 (patch)
treeb4907306be1653d459e65e632830019ca0b1ea7d
parentac2daf9f6714ec8e0da66fb2690c0bd5bf917a3b (diff)
downloadgcc-0a1fb8f828156215c3e694d74485dd2438fd6917.tar.gz
* recog.c (peephole2_optimize): Don't split block unless
can_throw_internal. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@67532 138bc75d-0d04-0410-961f-82ee72b054a4
-rw-r--r--gcc/ChangeLog11
-rw-r--r--gcc/recog.c3
2 files changed, 9 insertions, 5 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog
index c63338ddbe9..6a5ccf5cb83 100644
--- a/gcc/ChangeLog
+++ b/gcc/ChangeLog
@@ -1,9 +1,12 @@
+2003-06-05 Richard Henderson <rth@redhat.com>
+
+ * recog.c (peephole2_optimize): Don't split block unless
+ can_throw_internal.
+
2003-06-06 Kazu Hirata <kazu@cs.umass.edu>
- * config/h8300/h8300.c (get_shift_alg): Correct the syntax of
- rotxl.
- * config/h8300/h8300.md (*addsi3_lshiftrt_16_zexthi):
- Likewise.
+ * config/h8300/h8300.c (get_shift_alg): Correct the syntax of rotxl.
+ * config/h8300/h8300.md (*addsi3_lshiftrt_16_zexthi): Likewise.
2003-06-05 Kelley Cook <kelleycook@wideopenwest.com>
diff --git a/gcc/recog.c b/gcc/recog.c
index 6f4a73335e2..3135e6b26f8 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;