This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug lto/71089] [7 Regression] Failed to build 483.xalancbmk in SPEC CPU 2006
- From: "hubicka at ucw dot cz" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: Tue, 17 May 2016 10:14:52 +0000
- Subject: [Bug lto/71089] [7 Regression] Failed to build 483.xalancbmk in SPEC CPU 2006
- Auto-submitted: auto-generated
- References: <bug-71089-4 at http dot gcc dot gnu dot org/bugzilla/>
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=71089
--- Comment #7 from Jan Hubicka <hubicka at ucw dot cz> ---
> https://gcc.gnu.org/bugzilla/show_bug.cgi?id=71089
>
> --- Comment #6 from Markus Trippelsdorf <trippels at gcc dot gnu.org> ---
> (In reply to Jan Hubicka from comment #5)
> > Hi,
> > I reproduced the firefox ICE now (it needs -O3 instead of default flags). I
> > am testing
> > the following patch which fixes some confusion between thunk and non-thunk
> > inline clones
> > (there can be both, because we can first inline thunk, then inline into
> > thunk and then
> > inline the whole thing again)
>
> The segfault is gone, but I still see the ICE:
>
> lto1: internal compiler error: in lto_output_node, at lto-cgraph.c:473
I reproduce it too, I am looking into it now.
I have also patch to fix the metrics to tell inliner that thunks are really
cheap.
Without this patch we inline a lot of thunks and seem to trip some itneresting
cases
for partitioning.
Honza