aboutsummaryrefslogtreecommitdiff
path: root/gcc/testsuite/gcc.target/riscv/arch-zilsd-3.c
diff options
context:
space:
mode:
authorH.J. Lu <hjl.tools@gmail.com>2025-07-31 07:38:48 -0700
committerH.J. Lu <hjl.tools@gmail.com>2025-09-07 07:02:58 -0700
commita0344144dbccccf039f431a368f486f9dc6813ab (patch)
treee40d1f0b63e5ccec8b4a2c6ea72bc67c2810227c /gcc/testsuite/gcc.target/riscv/arch-zilsd-3.c
parent93af5f69d15934edda4ff6a6eb63bde9ae7b8e45 (diff)
downloadgcc-master.zip
gcc-master.tar.gz
gcc-master.tar.bz2
c++: Update TLS model after processing a TLS variableHEADtrunkmaster
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/gcc.target/riscv/arch-zilsd-3.c')
0 files changed, 0 insertions, 0 deletions