https://gcc.gnu.org/bugzilla/show_bug.cgi?id=119866
--- Comment #3 from Barry Revzin <barry.revzin at gmail dot com> --- Well even gcc 4.7.1 accepted this int main() { static_assert(__builtin_strlen("hi") == 2, "!"); } At this point lots of code relies on that working.