https://gcc.gnu.org/bugzilla/show_bug.cgi?id=95517
Iain Sandoe <iains at gcc dot gnu.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Resolution|--- |WONTFIX Status|ASSIGNED |RESOLVED --- Comment #8 from Iain Sandoe <iains at gcc dot gnu.org> --- I think the compiler is doing what the standard mandates; the idea of allowing both return cases to be in the promise could be re-presented to WG21 - but not before C++26, at this stage. So I think to close this now.