https://gcc.gnu.org/bugzilla/show_bug.cgi?id=115769
--- Comment #3 from Jakub Jelinek <jakub at gcc dot gnu.org> --- Created attachment 58908 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=58908&action=edit gcc15-pr115769-wip.patch Untested patch which fixes #c0 testcase without -DCURRENT, but breaks in a different way #c2, i.e. it works as long as there are no extended temporaries from initializer references.