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++/84497] link errors with trivial external thread_local variables


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

--- Comment #4 from Nathan Sidwell <nathan at gcc dot gnu.org> ---
Author: nathan
Date: Mon Mar  5 13:48:43 2018
New Revision: 258244

URL: https://gcc.gnu.org/viewcvs?rev=258244&root=gcc&view=rev
Log:
[PR c++/84497] ref to undefined tls init

https://gcc.gnu.org/ml/gcc-patches/2018-03/msg00209.html
        PR c++/84497
        * decl2.c (get_tls_init_fn): Check TYPE_HAS_TRIVIAL_DFLT too.

        PR c++/84497
        * g++.dg/cpp0x/pr84497.C: New.

Added:
    trunk/gcc/testsuite/g++.dg/cpp0x/pr84497.C
Modified:
    trunk/gcc/cp/ChangeLog
    trunk/gcc/cp/decl2.c
    trunk/gcc/testsuite/ChangeLog

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