aboutsummaryrefslogtreecommitdiff
path: root/gcc/flow.c
diff options
context:
space:
mode:
authorJeffrey A Law <law@cygnus.com>2000-01-14 11:21:22 +0000
committerJeff Law <law@gcc.gnu.org>2000-01-14 04:21:22 -0700
commit414094ded1661774994528bbb26d9aafad833132 (patch)
treeafa5c55935b64fde4a34af53941e56fcc81d5f35 /gcc/flow.c
parent254a8f0dbe961f94d6e23ae7ba013afd67dfc7a0 (diff)
downloadgcc-414094ded1661774994528bbb26d9aafad833132.zip
gcc-414094ded1661774994528bbb26d9aafad833132.tar.gz
gcc-414094ded1661774994528bbb26d9aafad833132.tar.bz2
flow.c (split_edge): Do not call set_block_for_insn if we do not have a basic_block_for_insn structure.
* flow.c (split_edge): Do not call set_block_for_insn if we do not have a basic_block_for_insn structure. From-SVN: r31410
Diffstat (limited to 'gcc/flow.c')
-rw-r--r--gcc/flow.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/gcc/flow.c b/gcc/flow.c
index 93677cf..33a5c1e 100644
--- a/gcc/flow.c
+++ b/gcc/flow.c
@@ -1387,7 +1387,8 @@ split_edge (edge_in)
pos = emit_jump_insn_after (gen_jump (old_succ->head),
jump_block->end);
jump_block->end = pos;
- set_block_for_insn (pos, jump_block);
+ if (basic_block_for_insn)
+ set_block_for_insn (pos, jump_block);
emit_barrier_after (pos);
/* ... let jump know that label is in use, ... */