From: jakub Date: Tue, 25 Sep 2018 13:18:06 +0000 (+0000) Subject: * vr-values.c (vr_values::vr_values): Initialize to_remove_edges and X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=5bbce86537693c822c66dc6ec661da82fb372358;p=thirdparty%2Fgcc.git * 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. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@264567 138bc75d-0d04-0410-961f-82ee72b054a4 --- diff --git a/gcc/ChangeLog b/gcc/ChangeLog index b81172f29009..a92e935781e6 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,9 @@ +2018-09-25 Jakub Jelinek + + * 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 PR tree-optimization/87402 diff --git a/gcc/vr-values.c b/gcc/vr-values.c index 6b6a91811f83..32392a11618d 100644 --- a/gcc/vr-values.c +++ b/gcc/vr-values.c @@ -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. */