https://gcc.gnu.org/bugzilla/show_bug.cgi?id=119082
--- Comment #3 from Jonathan Wakely <redi at gcc dot gnu.org> --- (In reply to qurong from comment #0) > GCC 12.4/13.3/11.4 erroneously compiles code So you already figured out that this bug was fixed in GCC 14?