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 c++/66808] tree check fail in symbol_table::decl_assembler_name_hash


https://gcc.gnu.org/bugzilla/show_bug.cgi?id=66808

--- Comment #3 from Markus Trippelsdorf <trippels at gcc dot gnu.org> ---
template <typename> class A {
  int *destroyThreadState_threadStatus = getThreadStatus();
  int *getThreadStatus() {
    static __thread int a;
    return &a;
  }
};
A<int> b;


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