[Bug c++/110401] [13/14/15/16 Regression] Unhelpful "goto is not a constant expression" in ill-formed pre c++20 constexpr function template

ajcozzol at us dot ibm.com gcc-bugzilla@gcc.gnu.org
Tue Jan 13 18:40:00 GMT 2026


https://gcc.gnu.org/bugzilla/show_bug.cgi?id=110401

--- Comment #6 from Anthony Cozzolino <ajcozzol at us dot ibm.com> ---
Per bug 123577, the reason given is correct for arrays 16 elements and less,
but incorrect for anything above that.

Also per comment in bug 123577, no reason is given at all on trunk.


More information about the Gcc-bugs mailing list