https://gcc.gnu.org/bugzilla/show_bug.cgi?id=121231
--- Comment #5 from Patrick Palka <ppalka at gcc dot gnu.org> --- It works if we explicitly zero-initialize 'result': Foo result{0,0};
ppalka at gcc dot gnu.org via Gcc-bugs Thu, 24 Jul 2025 12:04:02 -0700
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=121231
--- Comment #5 from Patrick Palka <ppalka at gcc dot gnu.org> --- It works if we explicitly zero-initialize 'result': Foo result{0,0};