https://gcc.gnu.org/bugzilla/show_bug.cgi?id=120471
--- Comment #6 from Xi Ruoyao <xry111 at gcc dot gnu.org> --- (In reply to Xi Ruoyao from comment #5) > (In reply to xiaohuba2021 from comment #4) > > (In reply to Xi Ruoyao from comment #2) > > > I cannot reproduce it locally, nor on godbolt: > > > https://godbolt.org/z/rxf8Es1n5. > > > > switch the language to c++ successfully reproduce it: > > https://godbolt.org/z/z6WhKKa74 > > Indeed. And it only reproduces with GCC 15, and does not reproduce with 14 > or trunk. Nope, my network issue :(.