Commit d02c08cb by Jakub Jelinek Committed by Jakub Jelinek

vr-values.c (vr_values::vr_values): Initialize to_remove_edges and…

vr-values.c (vr_values::vr_values): Initialize to_remove_edges and to_update_switch_stmts to vNULL instead of...

	* vr-values.c (vr_values::vr_values): Initialize to_remove_edges and
	to_update_switch_stmts to vNULL instead of calling create on them
	immediately.

From-SVN: r264567
parent a0d013bd
2018-09-25 Jakub Jelinek <jakub@redhat.com>
* vr-values.c (vr_values::vr_values): Initialize to_remove_edges and
to_update_switch_stmts to vNULL instead of calling create on them
immediately.
2018-09-25 Richard Biener <rguenther@suse.de>
PR tree-optimization/87402
......
......@@ -1919,8 +1919,8 @@ vr_values::vr_values () : vrp_value_range_pool ("Tree VRP value ranges")
vr_value = XCNEWVEC (value_range *, num_vr_values);
vr_phi_edge_counts = XCNEWVEC (int, num_ssa_names);
bitmap_obstack_initialize (&vrp_equiv_obstack);
to_remove_edges.create (10);
to_update_switch_stmts.create (5);
to_remove_edges = vNULL;
to_update_switch_stmts = vNULL;
}
/* Free VRP lattice. */
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment