[Bug c++/87413] strlen accepted in array declaration

bernd.edlinger at hotmail dot de gcc-bugzilla@gcc.gnu.org
Mon Sep 24 15:00:00 GMT 2018


https://gcc.gnu.org/bugzilla/show_bug.cgi?id=87413

--- Comment #1 from Bernd Edlinger <bernd.edlinger at hotmail dot de> ---
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.


More information about the Gcc-bugs mailing list