https://gcc.gnu.org/bugzilla/show_bug.cgi?id=80881
--- Comment #127 from LIU Hao <lh_mouse at 126 dot com> ---
(In reply to Eric Botcazou from comment #126)
> > Would you mind adding a sanity check that rejects dll{im,ex}port on
> > thread-local variables?
>
> How does clang/LLVM deal with that?
https://github.com/llvm/llvm-project/commit/5da21da4f6d7c69bbd7b2e7cf3fbdfb337978f9c
