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 gcc dot gnu.org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: Mon, 27 Jun 2011 10:14:05 +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 #1 from Jan Hubicka <hubicka at gcc dot gnu.org> 2011-06-27 10:13:34 UTC ---
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).
Honza