[LLVMbugs] [Bug 298] [llvmgcc] Variable length array indexing miscompiled
bugzilla-daemon at cs.uiuc.edu
bugzilla-daemon at cs.uiuc.edu
Fri May 7 11:39:36 PDT 2004
http://llvm.cs.uiuc.edu/bugs/show_bug.cgi?id=298
sabre at nondot.org changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|NEW |RESOLVED
Resolution| |FIXED
------- Additional Comments From sabre at nondot.org 2004-05-07 13:39 -------
This patch:
http://mail.cs.uiuc.edu/pipermail/llvm-commits/Week-of-Mon-20040503/014167.html
Fixes this testcase (test/Regression/CFrontend/2004-05-07-VarArrays.c):
int foo(int len, char arr[][len], int X) {
return arr[X][0];
}
The second testcase attached to this bug is actually a bug in the non-LLVM
specific portion of GCC, so it will magically be fixed when new bits are merged in.
-Chris
------- You are receiving this mail because: -------
You are on the CC list for the bug, or are watching someone who is.
More information about the llvm-bugs
mailing list