recog.c (peephole2_optimize): Don't split block unless can_throw_internal.
authorRichard Henderson <rth@gcc.gnu.org>
Fri, 6 Jun 2003 07:00:23 +0000 (00:00 -0700)
committerRichard Henderson <rth@gcc.gnu.org>
Fri, 6 Jun 2003 07:00:23 +0000 (00:00 -0700)
        * recog.c (peephole2_optimize): Don't split block unless
        can_throw_internal.

From-SVN: r67532

gcc/ChangeLog
gcc/recog.c

index c63338d..6a5ccf5 100644 (file)
@@ -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>
 
index 6f4a733..3135e6b 100644 (file)
@@ -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;