(unroll_loop): Set global_const_equiv_map_size.
authorJim Wilson <wilson@gcc.gnu.org>
Thu, 11 Nov 1993 00:47:19 +0000 (16:47 -0800)
committerJim Wilson <wilson@gcc.gnu.org>
Thu, 11 Nov 1993 00:47:19 +0000 (16:47 -0800)
From-SVN: r6062

gcc/unroll.c

index 631abcc93c03096d589066f035c47b995a752666..e3ed103de289b58cb8cefedf1e8cb09b2d7ff601 100644 (file)
@@ -753,6 +753,7 @@ unroll_loop (loop_end, insn_count, loop_start, end_insert_before,
                                                    * sizeof (unsigned));
          map->const_equiv_map_size = maxregnum;
          global_const_equiv_map = map->const_equiv_map;
+         global_const_equiv_map_size = maxregnum;
 
          init_reg_map (map, maxregnum);
 
@@ -1013,6 +1014,7 @@ unroll_loop (loop_end, insn_count, loop_start, end_insert_before,
 
   map->const_equiv_map_size = new_maxregnum;
   global_const_equiv_map = map->const_equiv_map;
+  global_const_equiv_map_size = new_maxregnum;
 
   /* Search the list of bivs and givs to find ones which need to be remapped
      when split, and set their reg_map entry appropriately.  */