From c1dbd774f63b6eab6e369f50ed9dc69b9e55c0f9 Mon Sep 17 00:00:00 2001 From: Richard Henderson Date: Fri, 6 Jun 2003 00:00:23 -0700 Subject: [PATCH] recog.c (peephole2_optimize): Don't split block unless can_throw_internal. * recog.c (peephole2_optimize): Don't split block unless can_throw_internal. From-SVN: r67532 --- gcc/ChangeLog | 11 +++++++---- gcc/recog.c | 3 ++- 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 + + * recog.c (peephole2_optimize): Don't split block unless + can_throw_internal. + 2003-06-06 Kazu Hirata - * 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 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; -- 2.30.2