[Bug c++/121231] [10->trunk] miscompile with brace-initialized constant template parameter perhaps due to function coalescing

ppalka at gcc dot gnu.org gcc-bugzilla@gcc.gnu.org
Thu Jul 24 19:03:55 GMT 2025


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


More information about the Gcc-bugs mailing list