[LLVMbugs] [Bug 5953] New: -Wvla not supported
bugzilla-daemon at cs.uiuc.edu
bugzilla-daemon at cs.uiuc.edu
Tue Jan 5 12:22:52 PST 2010
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: unassignedclangbugs at nondot.org
ReportedBy: rafael.espindola at gmail.com
CC: llvmbugs at cs.uiuc.edu
$ 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.
More information about the llvm-bugs
mailing list