[LLVMbugs] [Bug 4721] New: memory bugs and codegen crash with vlas
bugzilla-daemon at cs.uiuc.edu
bugzilla-daemon at cs.uiuc.edu
Fri Aug 14 17:03:33 PDT 2009
http://llvm.org/bugs/show_bug.cgi?id=4721
Summary: memory bugs and codegen crash with vlas
Product: clang
Version: unspecified
Platform: PC
OS/Version: All
Status: NEW
Severity: normal
Priority: P2
Component: LLVM Codegen
AssignedTo: unassignedclangbugs at nondot.org
ReportedBy: clattner at apple.com
CC: llvmbugs at cs.uiuc.edu
This testcase:
void sum1(int rb) {
typedef unsigned char imgrow[rb];
typedef imgrow img[rb];
const img *br;
int y;
(*br)[y];
}
Crashes codegen with an assert, and crashes -ast-print/-ast-dump with valgrind
errors about invalid reads.
--
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