https://gcc.gnu.org/bugzilla/show_bug.cgi?id=108829
Andrew Pinski <pinskia at gcc dot gnu.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Known to fail| |13.0 Keywords| |ice-on-valid-code, | |needs-bisection Last reconfirmed|2023-02-16 00:00:00 | Summary|internal compiler error: in |[13 Regression] internal |is_capture_proxy, at |compiler error: in |cp/lambda.cc:272 |is_capture_proxy, at | |cp/lambda.cc:272 Known to work| |12.2.0 --- Comment #3 from Andrew Pinski <pinskia at gcc dot gnu.org> --- Reduced better (to a valid testcase): ``` template <int> void f(void) { constexpr int IDX_PAGE_SIZE = 4096; int abyPage = [=, abyPage] { return IDX_PAGE_SIZE; }(); } void h() { f<1>(); } ```