https://gcc.gnu.org/bugzilla/show_bug.cgi?id=120451
Andrew Pinski <pinskia at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|UNCONFIRMED |ASSIGNED
Ever confirmed|0 |1
Last reconfirmed| |2025-05-28
--- Comment #1 from Andrew Pinski <pinskia at gcc dot gnu.org> ---
We just need to add:
DECL_MERGEABLE (decl) = 1;
after we create the variable.
I will handle this soon.
I Noticed this while looking into code generation of GCC itself.