https://gcc.gnu.org/bugzilla/show_bug.cgi?id=107713
--- Comment #3 from Xi Ruoyao <xry111 at gcc dot gnu.org> --- Created attachment 53907 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=53907&action=edit testcase A more straightforward test (in C++).