From: Richard Henderson Date: Fri, 6 Jun 2003 07:00:23 +0000 (-0700) Subject: recog.c (peephole2_optimize): Don't split block unless can_throw_internal. X-Git-Tag: releases/gcc-3.4.0~6111 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=c1dbd774f63b6eab6e369f50ed9dc69b9e55c0f9;p=thirdparty%2Fgcc.git 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 --- diff --git a/gcc/ChangeLog b/gcc/ChangeLog index c63338ddbe9a..6a5ccf5cb83e 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 6f4a73335e2c..3135e6b26f89 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;