https://gcc.gnu.org/bugzilla/show_bug.cgi?id=115769
Jakub Jelinek <jakub at gcc dot gnu.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Attachment #58912|0 |1 is obsolete| | --- Comment #6 from Jakub Jelinek <jakub at gcc dot gnu.org> --- Created attachment 58914 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=58914&action=edit gcc15-pr115769-wip.patch This variant seems to work (so far only for the automatic var cases). Will need to figure out what to do with namespace scope structured bindings and with block scope statics.