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 lto/55102] The options -flto and -On do not behave as described in GCC docs


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=55102

--- Comment #3 from Jan Hubicka <hubicka at gcc dot gnu.org> 2013-03-27 12:47:04 UTC ---
Doing IPA analysis at -O0 for LTO streaming won't really solve the fact that
functions are not early optimized.  I would vote for at least issuing a waning
when LTOing -O0 objects into -On, n>=1 LTO binary or simply declaring -O0 to be
non-LTO only.

But indeed, we probably should make analysis/summary streaming of all IPA
passes so -fno-ipa-cp and such works as expected all the time.  I have patch
fot that somewhere already.

We probably should lean the route of streaming the options used and honoring
them rather than taking whatever is passed to linker...


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