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 c63338ddbe9ae77124c1b230851693cfd9c65794..6a5ccf5cb83e68cf55badf8d844c6b0c25b6363a 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 6f4a73335e2c4236ebd3b94c8b3e206afc58e49a..3135e6b26f89889eda7f4b4f3d0a142a40002411 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;