[Bug c/85997] Bogus -Wvla warning from function array argument with size expression
kari.nurmela at iki dot fi
gcc-bugzilla@gcc.gnu.org
Fri Jun 1 17:04:00 GMT 2018
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85997
--- Comment #2 from Kari Nurmela <kari.nurmela at iki dot fi> ---
There is only one array in the program, "array", and that is not a variable
length array. The syntax in print_array doesn't take any position on the kind
of the array, only that there are at least "count" elements, at least that what
C99 seems to say?
More information about the Gcc-bugs
mailing list