https://gcc.gnu.org/bugzilla/show_bug.cgi?id=93041
Xi Ruoyao <xry111 at gcc dot gnu.org> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |xry111 at gcc dot gnu.org --- Comment #12 from Xi Ruoyao <xry111 at gcc dot gnu.org> --- (In reply to Ganton from comment #11) > A related assigned task is: > [C++26] P2809R3 - Trivial infinite loops are not undefined behavior > https://gcc.gnu.org/bugzilla/show_bug.cgi?id=114462 Note that even with P2809R3 the test case in this ticket is still invalid, as explained in comment 9.