diff options
author | Richard Henderson <rth@gcc.gnu.org> | 2003-06-06 00:00:23 -0700 |
---|---|---|
committer | Richard Henderson <rth@gcc.gnu.org> | 2003-06-06 00:00:23 -0700 |
commit | c1dbd774f63b6eab6e369f50ed9dc69b9e55c0f9 (patch) | |
tree | b4907306be1653d459e65e632830019ca0b1ea7d /gcc | |
parent | b82a670a2018962389a1f0b408b077bbf1489d7d (diff) | |
download | gcc-c1dbd774f63b6eab6e369f50ed9dc69b9e55c0f9.zip gcc-c1dbd774f63b6eab6e369f50ed9dc69b9e55c0f9.tar.gz gcc-c1dbd774f63b6eab6e369f50ed9dc69b9e55c0f9.tar.bz2 |
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
Diffstat (limited to 'gcc')
-rw-r--r-- | gcc/ChangeLog | 11 | ||||
-rw-r--r-- | gcc/recog.c | 3 |
2 files changed, 9 insertions, 5 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog index c63338d..6a5ccf5 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 6f4a733..3135e6b 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; |