[Bug lto/54790] New: [4.8 Regression] Missing optimization with LTO

d.g.gorbachev at gmail dot com gcc-bugzilla@gcc.gnu.org
Wed Oct 3 07:31:00 GMT 2012


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



More information about the Gcc-bugs mailing list