https://gcc.gnu.org/bugzilla/show_bug.cgi?id=115808
linuxnyasha at tutanota dot com changed: What |Removed |Added ---------------------------------------------------------------------------- Resolution|--- |INVALID Status|UNCONFIRMED |RESOLVED --- Comment #8 from linuxnyasha at tutanota dot com --- Yes, you are right. And even now it can be fixed using __builtin_constant_p.