diff options
author | hubicka <hubicka@138bc75d-0d04-0410-961f-82ee72b054a4> | 2003-09-07 16:23:41 +0000 |
---|---|---|
committer | hubicka <hubicka@138bc75d-0d04-0410-961f-82ee72b054a4> | 2003-09-07 16:23:41 +0000 |
commit | 9db0cb25678bcc3a63e4997678e667f4eaf90bd5 (patch) | |
tree | 9e4f5a83c6360cd6a98213c81666ca3062c257a7 /gcc/cfgcleanup.c | |
parent | f73a66028805f9e00863f7fdcf91ed0423c10b8e (diff) | |
download | gcc-9db0cb25678bcc3a63e4997678e667f4eaf90bd5.tar.gz |
* cfgcleanup.c (try_simplify_condjump): Fix again the preivous patch.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@71172 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/cfgcleanup.c')
-rw-r--r-- | gcc/cfgcleanup.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/gcc/cfgcleanup.c b/gcc/cfgcleanup.c index 9bf2b684f2d..bfc59ba22a5 100644 --- a/gcc/cfgcleanup.c +++ b/gcc/cfgcleanup.c @@ -182,10 +182,10 @@ try_simplify_condjump (basic_block cbranch_block) next = NEXT_INSN (insn); if (GET_CODE (insn) == NOTE && NOTE_LINE_NUMBER (insn) > 0) { - if (insn == end) + if (insn == jump_block->end) { jump_block->end = PREV_INSN (insn); - if (jump_block->end == end) + if (insn == end) break; } reorder_insns_nobb (insn, insn, end); |