[Bug middle-end/58624] gcc internal compiler error: Segmentaion fault in insert_to_assembler_name_hash
jason at gcc dot gnu.org
gcc-bugzilla@gcc.gnu.org
Tue Aug 26 18:02:00 GMT 2014
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=58624
--- Comment #8 from Jason Merrill <jason at gcc dot gnu.org> ---
(In reply to Markus Trippelsdorf from comment #7)
> static __typeof 0 a __attribute__ ((__weakref__ ("")));
> template <typename> class A
> {
> static __thread int b;
> };
The problem with this testcase is that set_decl_tls_model adds A<T>::b, an
uninstantiated template, to the symbol table. This ICE was introduced by
honza's r211689.
I'll deal with the other testcase.
More information about the Gcc-bugs
mailing list