This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug middle-end/35544] Error with -fprofile-use
- From: "pinskia at gcc dot gnu dot org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 12 Mar 2008 06:28:53 -0000
- Subject: [Bug middle-end/35544] Error with -fprofile-use
- References: <bug-35544-9436@http.gcc.gnu.org/bugzilla/>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- Comment #3 from pinskia at gcc dot gnu dot org 2008-03-12 06:28 -------
(In reply to comment #2)
> This model won't work well when -O4 (ipo) is in place. If instrumentation and
> annotation happens at the same phase in the compiler pipeline, I don't see a
> reason why such restriction is needed.
Why do you think it will not work well with LTO?
The instrumentation and annotation already happens at the same place which is
why the same options are required. They just happen after some inlining and
other early optimization to make sure the profiling does not get too slow.
-- Pinski
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=35544