https://gcc.gnu.org/bugzilla/show_bug.cgi?id=105999
Andrew Pinski <pinskia at gcc dot gnu.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|UNCONFIRMED |WAITING Ever confirmed|0 |1 Last reconfirmed| |2022-06-21 --- Comment #2 from Andrew Pinski <pinskia at gcc dot gnu.org> --- (In reply to Andrew Pinski from comment #1) > clang prints x also .... So does MSVC. I suspect this might be defect in the standard; or maybe not as all compilers I tried agree.