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.]

Reply via email to