r275140 - in /branches/gcc-7-branch/gcc: cp/Cha...
jakub@gcc.gnu.org
jakub@gcc.gnu.org
Fri Aug 30 12:30:00 GMT 2019
Author: jakub
Date: Fri Aug 30 12:30:48 2019
New Revision: 275140
URL: https://gcc.gnu.org/viewcvs?rev=275140&root=gcc&view=rev
Log:
Backported from mainline
2019-03-22 Jakub Jelinek <jakub@redhat.com>
PR c++/60702
* cp-tree.h (get_tls_wrapper_fn): Remove declaration.
(maybe_get_tls_wrapper_call): Declare.
* decl2.c (get_tls_wrapper_fn): Make static.
(maybe_get_tls_wrapper_call): New function.
* typeck.c (build_class_member_access_expr): Handle accesses to TLS
variables.
* semantics.c (finish_qualified_id_expr): Likewise.
(finish_id_expression_1): Use maybe_get_tls_wrapper_call.
* pt.c (tsubst_copy_and_build): Likewise.
* g++.dg/tls/thread_local11.C: New test.
* g++.dg/tls/thread_local11.h: New test.
* g++.dg/tls/thread_local12a.C: New test.
* g++.dg/tls/thread_local12b.C: New test.
* g++.dg/tls/thread_local12c.C: New test.
* g++.dg/tls/thread_local12d.C: New test.
* g++.dg/tls/thread_local12e.C: New test.
* g++.dg/tls/thread_local12f.C: New test.
* g++.dg/tls/thread_local12g.C: New test.
* g++.dg/tls/thread_local12h.C: New test.
* g++.dg/tls/thread_local12i.C: New test.
* g++.dg/tls/thread_local12j.C: New test.
* g++.dg/tls/thread_local12k.C: New test.
* g++.dg/tls/thread_local12l.C: New test.
Added:
branches/gcc-7-branch/gcc/testsuite/g++.dg/tls/thread_local11.C
branches/gcc-7-branch/gcc/testsuite/g++.dg/tls/thread_local11.h
branches/gcc-7-branch/gcc/testsuite/g++.dg/tls/thread_local12a.C
branches/gcc-7-branch/gcc/testsuite/g++.dg/tls/thread_local12b.C
branches/gcc-7-branch/gcc/testsuite/g++.dg/tls/thread_local12c.C
branches/gcc-7-branch/gcc/testsuite/g++.dg/tls/thread_local12d.C
branches/gcc-7-branch/gcc/testsuite/g++.dg/tls/thread_local12e.C
branches/gcc-7-branch/gcc/testsuite/g++.dg/tls/thread_local12f.C
branches/gcc-7-branch/gcc/testsuite/g++.dg/tls/thread_local12g.C
branches/gcc-7-branch/gcc/testsuite/g++.dg/tls/thread_local12h.C
branches/gcc-7-branch/gcc/testsuite/g++.dg/tls/thread_local12i.C
branches/gcc-7-branch/gcc/testsuite/g++.dg/tls/thread_local12j.C
branches/gcc-7-branch/gcc/testsuite/g++.dg/tls/thread_local12k.C
branches/gcc-7-branch/gcc/testsuite/g++.dg/tls/thread_local12l.C
Modified:
branches/gcc-7-branch/gcc/cp/ChangeLog
branches/gcc-7-branch/gcc/cp/cp-tree.h
branches/gcc-7-branch/gcc/cp/decl2.c
branches/gcc-7-branch/gcc/cp/pt.c
branches/gcc-7-branch/gcc/cp/semantics.c
branches/gcc-7-branch/gcc/cp/typeck.c
branches/gcc-7-branch/gcc/testsuite/ChangeLog
More information about the Gcc-cvs
mailing list