diff options
author | hubicka <hubicka@138bc75d-0d04-0410-961f-82ee72b054a4> | 2003-04-03 20:28:39 +0000 |
---|---|---|
committer | hubicka <hubicka@138bc75d-0d04-0410-961f-82ee72b054a4> | 2003-04-03 20:28:39 +0000 |
commit | cbf55766ae0f73a61a54d56d442e43ed6eac8d42 (patch) | |
tree | df8edacc89428dcbb3f3ecfcecf542e83f845c05 | |
parent | bc4e28dffe2e029576717c4d4f782e24a0352a96 (diff) | |
download | gcc-cbf55766ae0f73a61a54d56d442e43ed6eac8d42.tar.gz |
* cfgrtl.c (update_bb_for_insn): Do not set block for barriers.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@65214 138bc75d-0d04-0410-961f-82ee72b054a4
-rw-r--r-- | gcc/ChangeLog | 4 | ||||
-rw-r--r-- | gcc/cfgrtl.c | 3 |
2 files changed, 6 insertions, 1 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog index 4b6dec2e7fb..a02b55c7297 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,7 @@ +Thu Apr 3 22:27:40 CEST 2003 Jan Hubicka <jh@suse.cz> + + * cfgrtl.c (update_bb_for_insn): Do not set block for barriers. + 2003-04-03 Eric Botcazou <ebotcazou@libertysurf.fr> PR optimization/10157 diff --git a/gcc/cfgrtl.c b/gcc/cfgrtl.c index c7194b56c4a..185676b9041 100644 --- a/gcc/cfgrtl.c +++ b/gcc/cfgrtl.c @@ -462,7 +462,8 @@ update_bb_for_insn (bb) for (insn = bb->head; ; insn = NEXT_INSN (insn)) { - set_block_for_insn (insn, bb); + if (GET_CODE (insn) != BARRIER) + set_block_for_insn (insn, bb); if (insn == bb->end) break; } |