cfgrtl.c (merge_blocks_nomove): Use set_block_for_insn instead of assigning to BLOCK_...
authorZdenek Dvorak <rakdver@atrey.karlin.mff.cuni.cz>
Wed, 27 Mar 2002 21:56:50 +0000 (22:56 +0100)
committerJan Hubicka <hubicka@gcc.gnu.org>
Wed, 27 Mar 2002 21:56:50 +0000 (21:56 +0000)
* cfgrtl.c (merge_blocks_nomove): Use set_block_for_insn instead of
assigning to BLOCK_FOR_INSN directly.

From-SVN: r51475

gcc/ChangeLog
gcc/cfgrtl.c

index 317122a646bb9c2c419b9f2d7422b95398f8e03c..8cb61376b029608d57719d4f7a3bf203ce8d704d 100644 (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.
index a4f7006d392f96299f0d932abeba6b09329d0a6f..ef9a91c96b923db08b2e9f00db9c434287f5c5a7 100644 (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;