diff options
author | Richard Guenther <rguenther@suse.de> | 2007-09-18 11:22:47 +0000 |
---|---|---|
committer | Richard Biener <rguenth@gcc.gnu.org> | 2007-09-18 11:22:47 +0000 |
commit | efe9e8292626d3607873629c14b1404459649769 (patch) | |
tree | 3d5fd06a641f3fd27eb7270dd06c8c14a28650ab /gcc/tree-ssa-structalias.c | |
parent | c55f4e7c19a110fdcd57a7a1596aa9b466263ddf (diff) | |
download | gcc-efe9e8292626d3607873629c14b1404459649769.zip gcc-efe9e8292626d3607873629c14b1404459649769.tar.gz gcc-efe9e8292626d3607873629c14b1404459649769.tar.bz2 |
re PR c++/31863 (g++-4.1: out of memory with -O1/-O2)
2007-09-18 Richard Guenther <rguenther@suse.de>
PR tree-optimization/31863
* tree-ssa-structalias.c (create_variable_info_for): Always
free the fieldstack.
From-SVN: r128573
Diffstat (limited to 'gcc/tree-ssa-structalias.c')
-rw-r--r-- | gcc/tree-ssa-structalias.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/gcc/tree-ssa-structalias.c b/gcc/tree-ssa-structalias.c index 3e588bd..e2019f5 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; } |