aboutsummaryrefslogtreecommitdiff
path: root/gcc
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
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')
-rw-r--r--gcc/ChangeLog3
-rw-r--r--gcc/flow.c3
2 files changed, 5 insertions, 1 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog
index c52c015..dc1cb6c 100644
--- a/gcc/ChangeLog
+++ b/gcc/ChangeLog
@@ -1,5 +1,8 @@
Fri Jan 14 00:28:06 2000 Jeffrey A Law (law@cygnus.com)
+ * flow.c (split_edge): Do not call set_block_for_insn if we
+ do not have a basic_block_for_insn structure.
+
* fr30.h (TRAMPOLINE_TEMPLATE): Use nops to ensure the static chain
and destination functions are 32bit aligned within the trampoline.
(TRAMPOLINE_SIZE, INITIALIZE_TRAMPOLINE): Corresponding changes.
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, ... */