arocc
arocc copied to clipboard
Incorrect warning for static keyword on VLA parameter
void foo(int x, int y[static x]) {
}
There should be no warning, arocc warns:
./test.c:1:23: warning: 'static' useless without a constant size
void foo(int x, int y[static x]) {
^