This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

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


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]