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/50747] [4.7 Regression] ICE in produce_symtab, at lto-streamer-out.c:1435


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


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