https://gcc.gnu.org/bugzilla/show_bug.cgi?id=58408
Andrew Pinski <pinskia at gcc dot gnu.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Keywords| |diagnostic --- Comment #4 from Andrew Pinski <pinskia at gcc dot gnu.org> --- (In reply to Richard Smith from comment #3) > Workaround: > > __thread Test test = Test(); Or: __thread Test test{};