This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug lto/52400] New: lto1: ICE with extern on static linkage
- From: "chrbr at gcc dot gnu.org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: Mon, 27 Feb 2012 13:57:14 +0000
- Subject: [Bug lto/52400] New: lto1: ICE with extern on static linkage
- Auto-submitted: auto-generated
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.