diff options
author | H.J. Lu <hjl.tools@gmail.com> | 2025-09-05 15:40:51 -0700 |
---|---|---|
committer | H.J. Lu <hjl.tools@gmail.com> | 2025-09-08 14:11:17 -0700 |
commit | 8cad8f94b450be9b73d07bdeef7fa1778d3f2b96 (patch) | |
tree | b35dde8279217c060771115c3d547ed245af125a /gcc/testsuite/gcc.dg/analyzer/malloc-many-paths-2.c | |
parent | d199a9c7c5034d0eddb3380a58342a5bcbe6febd (diff) | |
download | gcc-8cad8f94b450be9b73d07bdeef7fa1778d3f2b96.zip gcc-8cad8f94b450be9b73d07bdeef7fa1778d3f2b96.tar.gz gcc-8cad8f94b450be9b73d07bdeef7fa1778d3f2b96.tar.bz2 |
c: Update TLS model after processing a TLS variable
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/c/
PR c/107419
* c-decl.cc (c_decl_attributes): Update TLS model with the
default TLS access model if the default TLS access model is
stronger.
(grokdeclarator): Set a tentative TLS model which will be
updated by c_decl_attributes later.
Signed-off-by: H.J. Lu <hjl.tools@gmail.com>
Diffstat (limited to 'gcc/testsuite/gcc.dg/analyzer/malloc-many-paths-2.c')
0 files changed, 0 insertions, 0 deletions