https://gcc.gnu.org/bugzilla/show_bug.cgi?id=117775
Marek Polacek <mpolacek at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |mpolacek at gcc dot gnu.org
Summary|Internal compiler error |[13/14/15 Regression]
|when deriving from lambda |Internal compiler error
|function with invalid body |when deriving from lambda
| |function with invalid body
Ever confirmed|0 |1
Target Milestone|--- |13.4
Last reconfirmed| |2024-11-25
Status|UNCONFIRMED |NEW
--- Comment #1 from Marek Polacek <mpolacek at gcc dot gnu.org> ---
Confirmed, $ g++-12 -c x.C -std=c++20 -Wno-pointer-arith compiles this fine.
Started with r13-160:
commit 967cdbe66296535fa496b88406a1125c8acaf6e2
Author: Jason Merrill <[email protected]>
Date: Tue Apr 12 17:46:59 2022 -0400
c++: empty base constexpr adjustment [PR105245]
Thanks for the bug report!