https://gcc.gnu.org/bugzilla/show_bug.cgi?id=80881

--- Comment #130 from GCC Commits <cvs-commit at gcc dot gnu.org> ---
The master branch has been updated by Eric Botcazou <[email protected]>:

https://gcc.gnu.org/g:bf0fd736a96fc8560d44f808bb1c27c13e99fa78

commit r16-7416-gbf0fd736a96fc8560d44f808bb1c27c13e99fa78
Author: Eric Botcazou <[email protected]>
Date:   Mon Feb 9 19:12:28 2026 +0100

    MinGW: Reject dll{im,ex}port attribute on TLS variables

    The same error is given by Clang/LLVM.

    gcc/
            PR target/80881
            * attribs.cc (handle_dll_attribute): If TARGET_WIN32_TLS is 1,
            issue an error if either attribute is set on a TLS variable.

    gcc/testsuite/
            * c-c++-common/tls-attr-dll.c: New test.

Reply via email to