This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug lto/50602] ICE in tree_nrv, at tree-nrv.c:155 during large LTO build
- From: "rguenther at suse dot de" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: Fri, 04 May 2012 08:17:57 +0000
- Subject: [Bug lto/50602] ICE in tree_nrv, at tree-nrv.c:155 during large LTO build
- Auto-submitted: auto-generated
- References: <bug-50602-4@http.gcc.gnu.org/bugzilla/>
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=50602
--- Comment #18 from rguenther at suse dot de <rguenther at suse dot de> 2012-05-04 08:17:57 UTC ---
On Thu, 3 May 2012, andi-gcc at firstfloor dot org wrote:
> http://gcc.gnu.org/bugzilla/show_bug.cgi?id=50602
>
> --- Comment #17 from Andi Kleen <andi-gcc at firstfloor dot org> 2012-05-03 14:57:13 UTC ---
> Hmm, my assumption was always that this option would be passed through and then
> used by lto1 step. That's true for other -f* options at least.
No, we do
/* The following does what the old LTO option code did,
union all target and a selected set of common options. */
for (i = 0; i < fdecoded_options_count; ++i)
{
struct cl_decoded_option *foption = &fdecoded_options[i];
switch (foption->opt_index)
{
default:
if (!(cl_options[foption->opt_index].flags & CL_TARGET))
break;
thus only pass through all target options and the explicitely listed
set of common options.