public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug c++/113348] New: ice when calling xobj member function without an object in an xobj member function
@ 2024-01-12 8:01 waffl3x at protonmail dot com
0 siblings, 0 replies; only message in thread
From: waffl3x at protonmail dot com @ 2024-01-12 8:01 UTC (permalink / raw)
To: gcc-bugs
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.
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2024-01-12 8:01 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2024-01-12 8:01 [Bug c++/113348] New: ice when calling xobj member function without an object in an xobj member function waffl3x at protonmail dot com
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).