[cfe-dev] CodeGen/bitfield.c test failing

Ted Kremenek kremenek at apple.com
Mon Jun 16 19:33:24 PDT 2008


Anyone else seeing this test failure:

(kremenek at tedbook:CodeGen)$ ../TestRunner.sh bitfield.c
******************** TEST 'bitfield.c' FAILED! ********************
Command:
  clang bitfield.c -emit-llvm -o - > Output/bitfield.c.out.tmp1
  grep "shl i32 Output/bitfield.c.out.tmpmp, 19" Output/ 
bitfield.c.out.tmp1 &&
  grep "ashr i32 Output/bitfield.c.out.tmpmp1, 19" Output/ 
bitfield.c.out.tmp1 &&
  grep "shl i16 Output/bitfield.c.out.tmpmp4, 1" Output/ 
bitfield.c.out.tmp1 &&
  grep "lshr i16 Output/bitfield.c.out.tmpmp5, 9" Output/ 
bitfield.c.out.tmp1 &&
  grep "and i32 Output/bitfield.c.out.tmpmp, -8192" Output/ 
bitfield.c.out.tmp1 &&
  grep "and i16 Output/bitfield.c.out.tmpmp5, -32513" Output/ 
bitfield.c.out.tmp1 &&
  grep "getelementptr (i32\* bitcast (.struct.STestB2\* @stb2 to  
i32\*), i32 1)" Output/bitfield.c.out.tmp1
Incorrect Output:
******************** TEST 'bitfield.c' FAILED! ********************




More information about the cfe-dev mailing list