From: Zdenek Dvorak Date: Wed, 27 Mar 2002 21:56:50 +0000 (+0100) Subject: cfgrtl.c (merge_blocks_nomove): Use set_block_for_insn instead of assigning to BLOCK_... X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=e27a4eaf4f12cf7fcb1c2bed8a0f9ac539a309e6;p=gcc.git cfgrtl.c (merge_blocks_nomove): Use set_block_for_insn instead of assigning to BLOCK_FOR_INSN directly. * cfgrtl.c (merge_blocks_nomove): Use set_block_for_insn instead of assigning to BLOCK_FOR_INSN directly. From-SVN: r51475 --- diff --git a/gcc/ChangeLog b/gcc/ChangeLog index 317122a646b..8cb61376b02 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,8 @@ +Wed Mar 27 22:54:14 CET 2002 Zdenek Dvorak + + * cfgrtl.c (merge_blocks_nomove): Use set_block_for_insn instead of + assigning to BLOCK_FOR_INSN directly. + Wed Mar 27 22:33:05 CET 2002 Jan Hubicka * i386.c (ix86_output_addr_diff_elt): Remove binutils bug workaround. diff --git a/gcc/cfgrtl.c b/gcc/cfgrtl.c index a4f7006d392..ef9a91c96b9 100644 --- a/gcc/cfgrtl.c +++ b/gcc/cfgrtl.c @@ -661,9 +661,9 @@ merge_blocks_nomove (a, b) rtx x; for (x = a_end; x != b_end; x = NEXT_INSN (x)) - BLOCK_FOR_INSN (x) = a; + set_block_for_insn (x, a); - BLOCK_FOR_INSN (b_end) = a; + set_block_for_insn (b_end, a); } a_end = b_end;