From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 9360 invoked by alias); 7 Feb 2013 00:30:21 -0000 Received: (qmail 8887 invoked by uid 48); 7 Feb 2013 00:29:42 -0000 From: "d.g.gorbachev at gmail dot com" To: gcc-bugs@gcc.gnu.org Subject: [Bug lto/56232] New: Missed optimization with LTO Date: Thu, 07 Feb 2013 00:30:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: new X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: lto X-Bugzilla-Keywords: X-Bugzilla-Severity: minor X-Bugzilla-Who: d.g.gorbachev at gmail dot com X-Bugzilla-Status: UNCONFIRMED X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Changed-Fields: Message-ID: 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: 2013-02/txt/msg00594.txt.bz2 http://gcc.gnu.org/bugzilla/show_bug.cgi?id=56232 Bug #: 56232 Summary: Missed optimization with LTO Classification: Unclassified Product: gcc Version: 4.8.0 Status: UNCONFIRMED Severity: minor Priority: P3 Component: lto AssignedTo: unassigned@gcc.gnu.org ReportedBy: d.g.gorbachev@gmail.com Created attachment 29377 --> http://gcc.gnu.org/bugzilla/attachment.cgi?id=29377 Compile with -flto -O2 /tmp/cce3xw28.ltrans0.ltrans.o:cce3xw28.ltrans0.o:function main: error: undefined reference to 'bar'