diff options
author | H.J. Lu <hjl.tools@gmail.com> | 2025-07-31 07:38:48 -0700 |
---|---|---|
committer | H.J. Lu <hjl.tools@gmail.com> | 2025-09-07 07:02:58 -0700 |
commit | a0344144dbccccf039f431a368f486f9dc6813ab (patch) | |
tree | e40d1f0b63e5ccec8b4a2c6ea72bc67c2810227c /gcc/testsuite/objc/execute/bf-15.m | |
parent | 93af5f69d15934edda4ff6a6eb63bde9ae7b8e45 (diff) | |
download | gcc-master.zip gcc-master.tar.gz gcc-master.tar.bz2 |
Set a tentative TLS model in grokvardecl and update TLS mode with the
default TLS access model after a TLS variable has been fully processed
if the default TLS access model is stronger.
gcc/cp/
PR c++/107393
* decl.cc (grokvardecl): Set a tentative TLS model which will be
updated by cplus_decl_attributes later.
* decl2.cc (cplus_decl_attributes): Update TLS model with the
default TLS access model if the default TLS access model is
stronger.
* pt.cc (tsubst_decl): Set TLS model only after processing a
variable.
gcc/testsuite/
PR c++/107393
* g++.dg/tls/pr107393-1.C: New test.
* g++.dg/tls/pr107393-2.C: Likewise.
Signed-off-by: H.J. Lu <hjl.tools@gmail.com>
Diffstat (limited to 'gcc/testsuite/objc/execute/bf-15.m')
0 files changed, 0 insertions, 0 deletions