From e27a4eaf4f12cf7fcb1c2bed8a0f9ac539a309e6 Mon Sep 17 00:00:00 2001 From: Zdenek Dvorak Date: Wed, 27 Mar 2002 22:56:50 +0100 Subject: [PATCH] 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 --- gcc/ChangeLog | 5 +++++ gcc/cfgrtl.c | 4 ++-- 2 files changed, 7 insertions(+), 2 deletions(-) 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; -- 2.11.4.GIT