[Bug c++/108526] [13 Regression] ICE in start_preparsed_function, at cp/decl.cc:17281
pinskia at gcc dot gnu.org
gcc-bugzilla@gcc.gnu.org
Tue Jan 24 18:25:23 GMT 2023
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=108526
Andrew Pinski <pinskia at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |jakub at gcc dot gnu.org
Target Milestone|--- |13.0
Last reconfirmed| |2023-01-24
Keywords|ice-on-invalid-code |ice-on-valid-code
Status|UNCONFIRMED |NEW
Ever confirmed|0 |1
--- Comment #1 from Andrew Pinski <pinskia at gcc dot gnu.org> ---
This is valid code in C++23.
Most likely the ICE started when static operator() support (for C++23) came in
via r13-2892-g303976a6076f28 .
More information about the Gcc-bugs
mailing list