This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: [tree-ssa] Generic NRV optimization [was Re: two-element struct performance (was: strict-aliasing and typedefs) ]
- From: Andreas Schwab <schwab at suse dot de>
- To: law at redhat dot com
- Cc: Joe Buck <jbuck at synopsys dot com>,Gabriel Dos Reis <gdr at integrable-solutions dot net>,Brad Lucier <lucier at math dot purdue dot edu>, gcc-patches at gcc dot gnu dot org
- Date: Wed, 25 Feb 2004 14:47:47 +0100
- Subject: Re: [tree-ssa] Generic NRV optimization [was Re: two-element struct performance (was: strict-aliasing and typedefs) ]
- References: <200402241628.i1OGSrdG008847@speedy.slc.redhat.com>
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."