diff options
author | Jeffrey A Law <law@cygnus.com> | 2001-08-14 23:30:16 +0000 |
---|---|---|
committer | Jeff Law <law@gcc.gnu.org> | 2001-08-14 17:30:16 -0600 |
commit | abb788ba5b872f48e523a1f37fb7837fec4f0c44 (patch) | |
tree | ab6f952c17c4a7926f58cb8a904a482483782b4a | |
parent | d9b761a9a1565d1e860c92a6d80f0f087a334b00 (diff) | |
download | gcc-abb788ba5b872f48e523a1f37fb7837fec4f0c44.zip gcc-abb788ba5b872f48e523a1f37fb7837fec4f0c44.tar.gz gcc-abb788ba5b872f48e523a1f37fb7837fec4f0c44.tar.bz2 |
flow.c (commit_one_edge_insertion): Don't separate a LOOP_BEG note from its associated jump.
* flow.c (commit_one_edge_insertion): Don't separate a LOOP_BEG
note from its associated jump.
From-SVN: r44910
-rw-r--r-- | gcc/ChangeLog | 5 | ||||
-rw-r--r-- | gcc/flow.c | 3 |
2 files changed, 8 insertions, 0 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog index 082d4f8..5a6cc13 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,8 @@ +Tue Aug 14 17:30:59 2001 Jeffrey A Law (law@cygnus.com) + + * flow.c (commit_one_edge_insertion): Don't separate a LOOP_BEG + note from its associated jump. + 2001-08-14 Ulrich Weigand <uweigand@de.ibm.com> * config/s390/linux64.h (CPP_PREDEFINES): Define __s390__ @@ -2405,6 +2405,9 @@ commit_one_edge_insertion (e) if (GET_CODE (bb->end) == JUMP_INSN) { before = bb->end; + while (GET_CODE (PREV_INSN (before)) == NOTE + && NOTE_LINE_NUMBER (PREV_INSN (before)) == NOTE_INSN_LOOP_BEG) + before = PREV_INSN (before); } else { |