https://gcc.gnu.org/bugzilla/show_bug.cgi?id=111934
Andrew Pinski <pinskia at gcc dot gnu.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Summary|ICE internal compiler |ICE internal compiler |error: in |error: in |discriminator_for_local_ent |discriminator_for_local_ent |ity, at cp/mangle.cc:2065 |ity after undefined decl | |defining a `thread_local | |auto` and weakref/alias | |attribute had been used | |before --- Comment #9 from Andrew Pinski <pinskia at gcc dot gnu.org> --- note alias attribute also causes the ICE.