aboutsummaryrefslogtreecommitdiff
path: root/gcc/cfgrtl.c
diff options
context:
space:
mode:
authorJan Hubicka <jh@suse.cz>2003-04-03 22:28:39 +0200
committerJan Hubicka <hubicka@gcc.gnu.org>2003-04-03 20:28:39 +0000
commitbcc53e2a94852391230761e15c044cd48797d4d1 (patch)
treedf8edacc89428dcbb3f3ecfcecf542e83f845c05 /gcc/cfgrtl.c
parent55a2af0c4219527cf5e46f1efbbab6f80cd2cb84 (diff)
downloadgcc-bcc53e2a94852391230761e15c044cd48797d4d1.zip
gcc-bcc53e2a94852391230761e15c044cd48797d4d1.tar.gz
gcc-bcc53e2a94852391230761e15c044cd48797d4d1.tar.bz2
* cfgrtl.c (update_bb_for_insn): Do not set block for barriers.
From-SVN: r65214
Diffstat (limited to 'gcc/cfgrtl.c')
-rw-r--r--gcc/cfgrtl.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/gcc/cfgrtl.c b/gcc/cfgrtl.c
index c7194b5..185676b 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;
}