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
This commit is contained in:
Zdenek Dvorak 2002-03-27 22:56:50 +01:00 committed by Jan Hubicka
parent 04b7c941e9
commit e27a4eaf4f
2 changed files with 7 additions and 2 deletions

View File

@ -1,3 +1,8 @@
Wed Mar 27 22:54:14 CET 2002 Zdenek Dvorak <rakdver@atrey.karlin.mff.cuni.cz>
* 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 <jh@suse.cz>
* i386.c (ix86_output_addr_diff_elt): Remove binutils bug workaround.

View File

@ -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;