https://gcc.gnu.org/bugzilla/show_bug.cgi?id=119866
--- Comment #3 from Barry Revzin ---
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.
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=119866
--- Comment #2 from Andrew Pinski ---
Though __builtin_strlen might not be the issue here...
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=119866
--- Comment #1 from Andrew Pinski ---
I am not sure if __builtin_strlen is supposed to be callable from constexpr at
all.