This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug other/49533] Firefox profiled build issues
- From: "hubicka at ucw dot cz" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: Mon, 27 Jun 2011 10:53:35 +0000
- Subject: [Bug other/49533] Firefox profiled build issues
- Auto-submitted: auto-generated
- References: <bug-49533-4@http.gcc.gnu.org/bugzilla/>
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=49533
--- Comment #3 from Jan Hubicka <hubicka at ucw dot cz> 2011-06-27 10:53:14 UTC ---
> http://gcc.gnu.org/bugzilla/show_bug.cgi?id=49533
>
> --- Comment #2 from Markus Trippelsdorf <markus at trippelsdorf dot de> 2011-06-27 10:25:13 UTC ---
> (In reply to comment #1)
> > The patch you quote has the effect of disabling pure const discovery for
> > functions calling functions with an aliases defined. It is quite surprising
> > that this does make a difference, but I still think this is most likely effect
> > of PR47247.
> >
> > The COMDAT problem causes inline functions with address taken to not be
> > optimized when their address is taken and indirect call profiling takes address
> > of all virtuals.
> >
> > Carry made an gold update that will hopefully hit the CVS binutils soonish and
> > I will update then the GCC side. Until that happens, I would advice using
> > -fprofile-generate -fno-lto (i.e. LTO is not needed for the instrumented
> > compiler).
>
> Note that this happens with "-fprofile-generate" only (no lto involved).
Hmm, sorry then it is different issue. I take a look.
Honza