From: Jeffrey A Law Date: Fri, 14 Jan 2000 11:21:22 +0000 (+0000) Subject: flow.c (split_edge): Do not call set_block_for_insn if we do not have a basic_block_f... X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=414094ded1661774994528bbb26d9aafad833132;p=gcc.git 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 --- diff --git a/gcc/ChangeLog b/gcc/ChangeLog index c52c015d940..dc1cb6c4198 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 93677cfe341..33a5c1efba9 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, ... */