This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: Trim down cselib memory usage


Jan Hubicka <jh@suse.cz> writes:

> 2004-01-20  Jan Hubicka  <jh@suse.cz>
> 	* cselib.c: Include alloc-pool.h
> 	(empty_vals, empty_elt_lists, empty_elt_loc_lists): Kill.
> 	(elt_loc_list_pool, elt_list_pool, cselib_val_pool): Declare.
> 	(new_elt_list, new_elt_loc_list, unchain_one_elt_list,
> 	unchain_one_elt_loc_list_pool, unchain_one_value,
> 	new_cselib_val): Simplify using allocpool.
> 	(cselib_init): Initialize allocpools.
> 	(cselib_finish): Finish allocpools.

This patch (together with
http://gcc.gnu.org/ml/gcc-patches/2004-01/msg02536.html) breaks
ia64-linux bootstrap.

stage1/xgcc -Bstage1/ -B/usr/local/ia64-suse-linux/bin/ -c   -g -O2 -DIN_GCC   -W -Wall -Wwrite-strings -Wstrict-prototypes -Wmissing-prototypes -pedantic -Wno-long-long -Wold-style-definition -Werror -fno-common   -DHAVE_CONFIG_H    -I. -I. -I../../gcc -I../../gcc/. -I../../gcc/../include  ../../gcc/c-decl.c -o c-decl.o
../../gcc/c-decl.c: In function `xref_tag':
../../gcc/c-decl.c:4737: internal compiler error: Segmentation fault

Andreas.

-- 
Andreas Schwab, SuSE Labs, schwab@suse.de
SuSE Linux AG, Maxfeldstraße 5, 90409 Nürnberg, Germany
Key fingerprint = 58CA 54C7 6D53 942B 1756  01D3 44D5 214B 8276 4ED5
"And now for something completely different."


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]