https://gcc.gnu.org/bugzilla/show_bug.cgi?id=123889
Jonathan Wakely <redi at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Ever confirmed|0 |1
Last reconfirmed| |2026-01-30
Status|UNCONFIRMED |NEW
--- Comment #1 from Jonathan Wakely <redi at gcc dot gnu.org> ---
(In reply to Nikolas Klauser from comment #0)
> On a side note, it would be nice if GCC didn't error on more than a single
> return statement in C++11 mode, since Clang allows more complex expressions
> as an extension already (and also happens to issue a usable warning in this
> example).
That's PR c++/123845