[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


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:

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.


------- 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