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

Jakub Jelinek <jakub at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |RESOLVED
                 CC|                            |jakub at gcc dot gnu.org
         Resolution|---                         |DUPLICATE

--- Comment #4 from Jakub Jelinek <jakub at gcc dot gnu.org> ---
(In reply to Andrew Pinski from comment #2)
> The variable should have been marked as GNU_UNIQUE object.

That is not the problem, the problem is that for the thread_local variable we
use in this case TLS LD model instead of GD.  For C++17 thread_local inline
variables GD model is used even in 8.x, for 9.x/trunk this has been fixed by
PR85400.
I guess we want to backport that to 8 branch too.

*** This bug has been marked as a duplicate of bug 85400 ***

Reply via email to