This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug lto/50747] [4.7 Regression] ICE in produce_symtab, at lto-streamer-out.c:1435
- From: "reichelt at gcc dot gnu.org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: Sat, 19 Nov 2011 22:58:50 +0000
- Subject: [Bug lto/50747] [4.7 Regression] ICE in produce_symtab, at lto-streamer-out.c:1435
- Auto-submitted: auto-generated
- References: <bug-50747-4@http.gcc.gnu.org/bugzilla/>
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=50747
Volker Reichelt <reichelt at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |reichelt at gcc dot gnu.org
--- Comment #4 from Volker Reichelt <reichelt at gcc dot gnu.org> 2011-11-19 22:58:50 UTC ---
Here's a different testcase that triggers the assertion one line before when
compiled with "-flto". So the proposed fix might not be sufficient.
=====================================================
void foo();
static void bar() __attribute__((weakref("foo")));
struct A
{
A();
};
int i;
template <typename T, int&> struct B : T {};
B<A, i> b;
=====================================================
bug.cc:14:10: internal compiler error: in produce_symtab, at
lto-streamer-out.c:1434
Please submit a full bug report, [etc.]