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: [tree-ssa] Generic NRV optimization [was Re: two-element struct performance (was: strict-aliasing and typedefs) ]


law@redhat.com writes:

> Bootstrapped and regression tested on i686-pc-linux-gnu.
>
> 	* Makefile.in (OBJS-common): Add tree-nrv.o.
> 	(tree-nrv.o): Add dependencies.
> 	timevar.def (TV_TREE_NRV): New timevar.
> 	* tree-nrv.c: New file implementing NRV on generic trees.
> 	* tree-optimize.c (init_tree_optimization_passes): Link in
> 	tree_nrv optimization pass.
> 	* tree-pass.h (tree_nrv): Declare. 
> 	* doc/invoke.texi: Add -fdump-tree-nrv documentation.

This breakes bootstrap on ia64-linux.

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 -Wno-variadic-macros -Werror -fno-common   -DHAVE_CONFIG_H    -I. -I. -I../../gcc -I../../gcc/. -I../../gcc/../include -I../../gcc/../libbanshee/libcompat -I../../gcc/../libbanshee -I../../gcc/../libbanshee/points-to  ../../gcc/tree-ssa-ccp.c -o tree-ssa-ccp.o
../../gcc/tree-ssa-ccp.c: In function `get_default_value':
../../gcc/tree-ssa-ccp.c:2028: internal compiler error: in expand_expr_real_1, at expr.c:6652

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]