This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug middle-end/35544] Error with -fprofile-use



------- 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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]