This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug lto/54790] New: [4.8 Regression] Missing optimization with LTO
- From: "d.g.gorbachev at gmail dot com" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: Wed, 03 Oct 2012 07:31:00 +0000
- Subject: [Bug lto/54790] New: [4.8 Regression] Missing optimization with LTO
- Auto-submitted: auto-generated
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=54790
Bug #: 54790
Summary: [4.8 Regression] Missing optimization with LTO
Classification: Unclassified
Product: gcc
Version: 4.8.0
Status: UNCONFIRMED
Severity: normal
Priority: P3
Component: lto
AssignedTo: unassigned@gcc.gnu.org
ReportedBy: d.g.gorbachev@gmail.com
Created attachment 28337
--> http://gcc.gnu.org/bugzilla/attachment.cgi?id=28337
Testcase
GCC 20120916 (r191367) - ok, 20120923 (r191654) - bug.
$ gcc -O2 -flto pr54790.c
/tmp/ccTyOv2G.ltrans0.ltrans.o:ccTyOv2G.ltrans0.o:function foo: error:
undefined reference to 'link_error'
collect2: error: ld returned 1 exit status