2007-03-27-VarLengthArray.c test

I experienced

FAIL:
/localtmp/astifter/llvm/llvm-svn/test/FrontendC/2007-03-27-VarLengthArray.c
Failed with exit(1) at line 1
while running:
/nfs/a5/astifter/astifter/llvm/llvm-svn-obj/../llvm-svn-install/bin/llvm-gcc
  -emit-llvm -w -S /localtmp/astifter/llvm/l
lvm-svn/test/FrontendC/2007-03-27-VarLengthArray.c -o - | /bin/grep
{getelementptr inbounds \[0 x i32\]}
child process exited abnormally

on a Linux x86_64 box.

I'm not sure why "inbounds" is missing in my output. Can anyone
enlighten me?

In case this is wrong and inbouds should go away, here's a patch to fix
this. (It also uses FileCheck.)

Andi

llvm-r79420.2007-03-27-VarLengthArray.c.patch (460 Bytes)

Andreas Neustifter wrote:

I experienced

FAIL:
/localtmp/astifter/llvm/llvm-svn/test/FrontendC/2007-03-27-VarLengthArray.c
Failed with exit(1) at line 1
while running:
/nfs/a5/astifter/astifter/llvm/llvm-svn-obj/../llvm-svn-install/bin/llvm-gcc
  -emit-llvm -w -S /localtmp/astifter/llvm/l
lvm-svn/test/FrontendC/2007-03-27-VarLengthArray.c -o - | /bin/grep
{getelementptr inbounds \[0 x i32\]}
child process exited abnormally

on a Linux x86_64 box.

I'm not sure why "inbounds" is missing in my output. Can anyone
enlighten me?

Probably you need to update and rebuild llvm-gcc.

Ciao,

Duncan.