https://gcc.gnu.org/bugzilla/show_bug.cgi?id=94631
Andrew Pinski <pinskia at gcc dot gnu.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|UNCONFIRMED |RESOLVED Resolution|--- |INVALID --- Comment #1 from Andrew Pinski <pinskia at gcc dot gnu.org> --- >I don't believe there's any language in the standard supporting what GCC is >doing here. Wrong, see C DR 120 where it talks about this specific thing. See https://gcc.gnu.org/legacy-ml/gcc/2017-10/msg00192.html for on why GCC is correct (and even why LLVM is correct too). Even GCC's C++ front-end is differs from GCC's C front-end here too.