From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 21850 invoked by alias); 29 Oct 2012 14:39:12 -0000 Received: (qmail 19730 invoked by uid 48); 29 Oct 2012 14:38:28 -0000 From: "rguenth at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug lto/55102] The options -flto and -On do not behave as described in GCC docs Date: Mon, 29 Oct 2012 14:39:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: lto X-Bugzilla-Keywords: documentation, lto, missed-optimization X-Bugzilla-Severity: normal X-Bugzilla-Who: rguenth at gcc dot gnu.org X-Bugzilla-Status: NEW X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Changed-Fields: Status Last reconfirmed CC Ever Confirmed Message-ID: In-Reply-To: References: X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated Content-Type: text/plain; charset="UTF-8" MIME-Version: 1.0 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org X-SW-Source: 2012-10/txt/msg02689.txt.bz2 http://gcc.gnu.org/bugzilla/show_bug.cgi?id=55102 Richard Biener 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 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...