https://gcc.gnu.org/bugzilla/show_bug.cgi?id=86719
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> --- So this is not valid C. constant expressions in C is different from C++ constant expressions. In C, const int variables are not constant expressions.