http://llvm.org/bugs/show_bug.cgi?id=5953
Summary: -Wvla not supported
Product: clang
Version: trunk
Platform: PC
OS/Version: Linux
Status: NEW
Severity: normal
Priority: P2
Component: Basic
AssignedTo: [email protected]
ReportedBy: [email protected]
CC: [email protected]
$ cat test.c
void g(int n) {
int v[n];
}
$ ./Debug/bin/clang -c -Wvla test.c
warning: unknown warning option '-Wvla' [-Wunknown-warning-option]
1 diagnostic generated.
$ gcc -c -Wvla ~/test.c
test.c: In function âgâ:
test.c:2:3: warning: variable length array âvâ is used
--
Configure bugmail: http://llvm.org/bugs/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.
_______________________________________________
LLVMbugs mailing list
[email protected]
http://lists.cs.uiuc.edu/mailman/listinfo/llvmbugs