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};

Reply via email to