https://gcc.gnu.org/bugzilla/show_bug.cgi?id=129221
Richard Biener <rguenth at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Ever confirmed|0 |1
Component|c++ |ipa
Last reconfirmed| |2026-12-02
Status|UNCONFIRMED |NEW
--- Comment #1 from Richard Biener <rguenth at gcc dot gnu.org> ---
Confirmed on trunk with -std=c++17 -O2 -flto -fdump-ipa-static-var.
In ipa-reference.cc:get_static_name, fndecl_name is called on the unnamed
structured binding VAR_DECL, hitting gcc_assert(DECL_NAME(decl)) in
lhd_decl_printable_name.