https://gcc.gnu.org/bugzilla/show_bug.cgi?id=107419
--- Comment #4 from GCC Commits <cvs-commit at gcc dot gnu.org> --- The master branch has been updated by H.J. Lu <h...@gcc.gnu.org>: https://gcc.gnu.org/g:9eab6c6f223808ceeebb55b5453c75782224cd9e commit r16-3806-g9eab6c6f223808ceeebb55b5453c75782224cd9e Author: H.J. Lu <hjl.to...@gmail.com> Date: Mon Sep 8 15:10:02 2025 -0700 testsuite: Add tests for PR c/107419 and PR c++/107393 Both C and C++ frontends should 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. PR c/107419 PR c++/107393 * c-c++-common/tls-attr-common.c: New test. * c-c++-common/tls-attr-le-pic.c: Likewise. * c-c++-common/tls-attr-le-pie.c: Likewise. Signed-off-by: H.J. Lu <hjl.to...@gmail.com>