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
This commit is contained in:
Richard Guenther 2007-09-18 11:22:47 +00:00 committed by Richard Biener
parent c55f4e7c19
commit efe9e82926
2 changed files with 9 additions and 1 deletions

View file

@ -1,3 +1,9 @@
2007-09-18 Richard Guenther <rguenther@suse.de>
PR tree-optimization/31863
* tree-ssa-structalias.c (create_variable_info_for): Always
free the fieldstack.
2007-09-18 Dorit Nuzman <dorit@il.ibm.com>
* opts.c (decode_options): Enable vectorization under -O3.

View file

@ -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;
}