[LLVMdev] nightly test suite failure: ms_struct-bitfield-init-1.c

jahanian fjahanian at apple.com
Fri May 6 15:07:59 PDT 2011


On May 6, 2011, at 2:29 PM, Chris Lattner wrote:

> 
> On May 6, 2011, at 1:29 AM, Jay Foad wrote:
> 
>> Hi,
>> 
>> I've just tried to run the test-suite, for the first time in ages. It
>> stops rather abruptly with:
>> 
>> $ make TEST=nightly report report.html
> 
> This is a test that Fariborz has been working on with Clang.  It is possible that llvm-gcc is expected to fail it, if this is so, the test can be put in an #ifdef __clang__.  Fariborz, can you take a look?

llvm-gcc must pass  the test. It passes with llvm-gcc (LLVM build 2335.6). If it fails with latest llvm-gcc, it means that llvm-gcc is broken.

- fariborz

> 
> -Chris
> 
>> 
>> /home/jay/llvm/local/bin/llvm-gcc
>> -I/home/jay/llvm/gitobjdir/projects/test-suite/SingleSource/UnitTests
>> -I/home/jay/svn/llvm-project/test-suite/trunk/SingleSource/UnitTests
>> -I/home/jay/git/llvm/projects/test-suite/include -I../../include
>> -I/home/jay/llvm/gitobjdir/include -I/home/jay/git/llvm/include
>> -D_GNU_SOURCE -D__STDC_LIMIT_MACROS -DNDEBUG  -O3 -mllvm
>> -disable-llvm-optzns  -m64 -fomit-frame-pointer -S
>> /home/jay/svn/llvm-project/test-suite/trunk/SingleSource/UnitTests/ms_struct-bitfield-init-1.c
>> -o Output/ms_struct-bitfield-init-1.ll -emit-llvm
>> /home/jay/svn/llvm-project/test-suite/trunk/SingleSource/UnitTests/ms_struct-bitfield-init-1.c:28:
>> error: size of array ‘a3’ is negative
>> make[3]: [Output/ms_struct-bitfield-init-1.ll] Error 1 (ignored)
>> /home/jay/llvm/gitobjdir/Release+Asserts/bin/llvm-as
>> Output/ms_struct-bitfield-init-1.ll -o
>> Output/ms_struct-bitfield-init-1.bc
>> /home/jay/llvm/gitobjdir/Release+Asserts/bin/llvm-as:
>> Output/ms_struct-bitfield-init-1.ll: Could not open input file: No
>> such file or directory
>> make[3]: *** [Output/ms_struct-bitfield-init-1.bc] Error 1
>> 
>> This seems wrong -- if a test fails, it shouldn't stop the whole
>> "make", it should just get logged as a failure and continue.
>> 
>> Any idea what's going on?
>> 
>> I'm using llvm and llvm-gcc-4.2 built from git/svn respectively,
>> updated a few moments ago.
>> 
>> Thanks,
>> Jay.
>> 
>> _______________________________________________
>> LLVM Developers mailing list
>> LLVMdev at cs.uiuc.edu         http://llvm.cs.uiuc.edu
>> http://lists.cs.uiuc.edu/mailman/listinfo/llvmdev
> 





More information about the llvm-dev mailing list