Hi all,
I am a LLVM 3.1 tester and running tests on ARM. A few clang test failures
can be avoided by adding target-specific triple, but I am not sure if this is
the correct solution.
1. Use "-triple x86_64-none-linux-gnu" makes failures below disappered. If no
one against this solution, I'll prepare a patch.
Clang :: CodeGenCXX/compound-literals.cpp
Clang :: CodeGenCXX/copy-constructor-elim-2.cpp
Clang :: CodeGenCXX/cxx0x-initializer-references.cpp
Clang :: CodeGenCXX/cxx0x-initializer-stdinitializerlist-startend.cpp
Clang :: CodeGenCXX/virt-call-offsets.cpp
Clang :: CodeGenCXX/x86-64-abi-sret-vs-2word-struct-param.cpp
Clang :: CodeGenCXX/cxx0x-initializer-stdinitializerlist.cpp
2. Use "-triple x86_64-none-linux-gnu" makes failure below disappered, too.
But Chandler think tests under CXX/ should be platform independent. We
either move p15-inclass.cpp to CodeGenCXX/ , or make "linkonce_odr"
ptional in FileCheck so it's not platform dependent.
Clang :: CXX/special/class.copy/p15-inclass.cpp
3. Although "-fshort-wchar" makes the error below disappered, Chandler think
the test itslef is NOT fulfill the C++ standard, so this could be a bug
in the test not in clang.
Clang :: CXX/conv/conv.prom/p2.cpp
4. James suggust me to raise a PR for the test case below. How this test case
is ran and what the error message is can be found in [1].
Sema/arm-neon-types.c
Any comments or sugguestions? Thanks!
Regards,
chenwj
[1] http://people.cs.nctu.edu.tw/~chenwj/tmp/phase3-regression-test.txt