------- Additional Comments From steven at gcc dot gnu dot org  2004-11-29 
10:21 -------
Try this. 
 
Index: tree-into-ssa.c 
=================================================================== 
RCS file: /cvs/gcc/gcc/gcc/tree-into-ssa.c,v 
retrieving revision 2.33 
diff -u -3 -p -r2.33 tree-into-ssa.c 
--- tree-into-ssa.c     25 Nov 2004 22:31:08 -0000      2.33 
+++ tree-into-ssa.c     29 Nov 2004 10:21:04 -0000 
@@ -1017,7 +1017,7 @@ insert_phi_nodes_for (tree var, bitmap * 
 
   EXECUTE_IF_SET_IN_BITMAP (def_map->def_blocks, 0, bb_index, bi) 
     { 
-      VEC_quick_push (basic_block, work_stack, BASIC_BLOCK (bb_index)); 
+      VEC_safe_push (basic_block, work_stack, BASIC_BLOCK (bb_index)); 
     } 
 
   /* Pop a block off the worklist, add every block that appears in 
@@ -1046,7 +1046,7 @@ insert_phi_nodes_for (tree var, bitmap * 
        { 
          basic_block bb = BASIC_BLOCK (dfs_index); 
 
-         VEC_quick_push (basic_block, work_stack, bb); 
+         VEC_safe_push (basic_block, work_stack, bb); 
          bitmap_set_bit (phi_insertion_points, dfs_index); 
        } 
     } 
 

-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=18712

Reply via email to