[cfe-dev] recent clang failure

Gabor Greif gabor at mac.com
Wed Mar 12 11:22:43 PDT 2008


There is a new objc failure in clang:


ggreif$ uname -a
Darwin pixxi.local 8.11.1 Darwin Kernel Version 8.11.1: Wed Oct 10 18:23:28 PDT 2007; root:xnu-792.25.20~1/RELEASE_I386 i386 i386


ggreif$ /usr/bin/g++ --version
i686-apple-darwin8-g++-4.0.1 (GCC) 4.0.1 (Apple Computer, Inc. build 5367)
Copyright (C) 2005 Free Software Foundation, Inc.
This is free software; see the source for copying conditions.  There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.


******************** TEST 'Rewriter/objc-ivar-receiver-1.m' FAILED! ********************
Command:
 clang -rewrite-test Rewriter/objc-ivar-receiver-1.m
 clang -rewrite-test Rewriter/objc-ivar-receiver-1.m | grep 'newInv->_container'
Output:
/Users/ggreif/llvm/tools/clang/AST/../include/clang/AST/StmtVisitor.h:104: failed assertion `0 && "Unknown stmt kind!"'
Output/Rewriter/objc-ivar-receiver-1.m.out.script: line 1: 17100 Abort trap              clang -rewrite-test Rewriter/objc-ivar-receiver-1.m
/Users/ggreif/llvm/tools/clang/AST/../include/clang/AST/StmtVisitor.h:104: failed assertion `0 && "Unknown stmt kind!"'
******************** TEST 'Rewriter/objc-ivar-receiver-1.m' FAILED! ********************


These seem to be old:

/usr/lib/gcc/i686-apple-darwin8/4.0.1/include/mmintrin.h:670:53: error: incompatible type passing 'long long', expected 'long long  __attribute__((__vector_size__(4)))'
  return (__m64) __builtin_ia32_psrld ((__v2si)__m, (long long)__count);
                                                    ^~~~~~~~~~~~~~~~~~


whic happen en masse in cocoa.h and carbon.h tests.

Cheers,

	Gabor



More information about the cfe-dev mailing list