[Bug c++/110486] gcc rejects constant expression with consteval lambda

2024-04-15 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=110486 Andrew Pinski changed: What|Removed |Added Known to work||14.0 Keywords|

[Bug c++/110486] gcc rejects constant expression with consteval lambda

2023-06-29 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=110486 --- Comment #1 from Andrew Pinski --- The question is the second lamdba implicitly consteval or not ... If it is, then the bug is dealing with that. That is adding consteval to the second lamdba allows GCC to accept the code.