This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug lto/55102] The options -flto and -On do not behave as described in GCC docs
- From: "rguenth at gcc dot gnu.org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: Mon, 29 Oct 2012 14:38:24 +0000
- Subject: [Bug lto/55102] The options -flto and -On do not behave as described in GCC docs
- Auto-submitted: auto-generated
- References: <bug-55102-4@http.gcc.gnu.org/bugzilla/>
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=55102
Richard Biener <rguenth at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|UNCONFIRMED |NEW
Last reconfirmed| |2012-10-29
CC| |hubicka at gcc dot gnu.org,
| |rguenth at gcc dot gnu.org
Ever Confirmed|0 |1
--- Comment #1 from Richard Biener <rguenth at gcc dot gnu.org> 2012-10-29 14:38:24 UTC ---
Yes, fact is that -O0 disables local optimizations before LTO streaming.
It also disables IPA pass local analysis phase which means that even if
enabling -O3 at WPA / LTRANS stages you will _not_ get IPA transforms
enabled.
Eventually we'd want to enable all IPA analysis phases at all -O levels...