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/52400] New: lto1: ICE with extern on static linkage


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=52400

             Bug #: 52400
           Summary: lto1: ICE with extern on static linkage
    Classification: Unclassified
           Product: gcc
           Version: 4.7.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: lto
        AssignedTo: unassigned@gcc.gnu.org
        ReportedBy: chrbr@gcc.gnu.org


Compiling the attached file

g++ -O0  -flto foo.cc
lto1: internal compiler error: in lto_record_renamed_decl, at
lto-section-in.c:330

removing the external declaration for f4() makes the test pass.


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