From: Richard Guenther Date: Tue, 18 Sep 2007 11:22:47 +0000 (+0000) Subject: re PR c++/31863 (g++-4.1: out of memory with -O1/-O2) X-Git-Tag: releases/gcc-4.3.0~2521 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=efe9e8292626d3607873629c14b1404459649769;p=thirdparty%2Fgcc.git re PR c++/31863 (g++-4.1: out of memory with -O1/-O2) 2007-09-18 Richard Guenther PR tree-optimization/31863 * tree-ssa-structalias.c (create_variable_info_for): Always free the fieldstack. From-SVN: r128573 --- diff --git a/gcc/ChangeLog b/gcc/ChangeLog index f972d7b297bb..483ab37de8b1 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,9 @@ +2007-09-18 Richard Guenther + + PR tree-optimization/31863 + * tree-ssa-structalias.c (create_variable_info_for): Always + free the fieldstack. + 2007-09-18 Dorit Nuzman * opts.c (decode_options): Enable vectorization under -O3. diff --git a/gcc/tree-ssa-structalias.c b/gcc/tree-ssa-structalias.c index 3e588bdfcdb4..e2019f5e3f26 100644 --- a/gcc/tree-ssa-structalias.c +++ b/gcc/tree-ssa-structalias.c @@ -4500,8 +4500,10 @@ create_variable_info_for (tree decl, const char *name) stats.total_vars++; } - VEC_free (fieldoff_s, heap, fieldstack); } + + VEC_free (fieldoff_s, heap, fieldstack); + return index; }