https://gcc.gnu.org/bugzilla/show_bug.cgi?id=113348
Bug ID: 113348 Summary: ice when calling xobj member function without an object in an xobj member function Product: gcc Version: 14.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: c++ Assignee: unassigned at gcc dot gnu.org Reporter: waffl3x at protonmail dot com Target Milestone: --- struct S { void f(this S& self) {} void g(this S self) { f(); } }; void test() { S{}.g(); } Someone on reddit found this one, I forgot to reject this case, and it turns out it crashes, fun. I've got a fix mostly finished that I will post tomorrow, just making the bug report as a formality.