https://gcc.gnu.org/bugzilla/show_bug.cgi?id=87413
Martin Sebor changed:
What|Removed |Added
Status|UNCONFIRMED |NEW
Last reconfirmed|
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=87413
Martin Sebor changed:
What|Removed |Added
Keywords||diagnostic
CC|
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=87413
--- Comment #2 from Jonathan Wakely ---
It's a GNU extension in C++, so we can decide whether it's valid or not.
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=87413
--- Comment #1 from Bernd Edlinger ---
so current trunk accepts the variant test1.c with __builtin_strlen
both C and C++:
$ gcc -Wall -S test1.c
$ gcc -x c++ -Wall -S test1.c
Don't know it that is valid.