https://gcc.gnu.org/bugzilla/show_bug.cgi?id=112571
Bug ID: 112571 Summary: ICE with nested redefinition of enum Product: gcc Version: 14.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: c Assignee: unassigned at gcc dot gnu.org Reporter: uecker at gcc dot gnu.org Target Milestone: --- The following code ICEs on trunk but not on 13.2 with -std=c2x typedef __SIZE_TYPE__ size_t; enum h : typeof (enum h { D }) { D }; https://godbolt.org/z/cd1o75M3W