Author: ericwf Date: Tue Jan 19 22:06:46 2016 New Revision: 258284 URL: http://llvm.org/viewvc/llvm-project?rev=258284&view=rev Log: Mark some tests as XFAIL with GCC due to compiler bugs
Modified: libcxxabi/trunk/test/catch_array_01.pass.cpp libcxxabi/trunk/test/catch_function_01.pass.cpp libcxxabi/trunk/test/catch_member_function_pointer_01.pass.cpp Modified: libcxxabi/trunk/test/catch_array_01.pass.cpp URL: http://llvm.org/viewvc/llvm-project/libcxxabi/trunk/test/catch_array_01.pass.cpp?rev=258284&r1=258283&r2=258284&view=diff ============================================================================== --- libcxxabi/trunk/test/catch_array_01.pass.cpp (original) +++ libcxxabi/trunk/test/catch_array_01.pass.cpp Tue Jan 19 22:06:46 2016 @@ -9,6 +9,11 @@ // Can you have a catch clause of array type that catches anything? + +// GCC incorrectly allows array types to be caught by reference. +// See https://gcc.gnu.org/bugzilla/show_bug.cgi?id=69372 +// XFAIL: gcc + #include <cassert> int main() Modified: libcxxabi/trunk/test/catch_function_01.pass.cpp URL: http://llvm.org/viewvc/llvm-project/libcxxabi/trunk/test/catch_function_01.pass.cpp?rev=258284&r1=258283&r2=258284&view=diff ============================================================================== --- libcxxabi/trunk/test/catch_function_01.pass.cpp (original) +++ libcxxabi/trunk/test/catch_function_01.pass.cpp Tue Jan 19 22:06:46 2016 @@ -9,6 +9,10 @@ // Can you have a catch clause of array type that catches anything? +// GCC incorrectly allows function pointer to be caught by reference. +// See https://gcc.gnu.org/bugzilla/show_bug.cgi?id=69372 +// XFAIL: gcc + #include <cassert> template <class Tp> Modified: libcxxabi/trunk/test/catch_member_function_pointer_01.pass.cpp URL: http://llvm.org/viewvc/llvm-project/libcxxabi/trunk/test/catch_member_function_pointer_01.pass.cpp?rev=258284&r1=258283&r2=258284&view=diff ============================================================================== --- libcxxabi/trunk/test/catch_member_function_pointer_01.pass.cpp (original) +++ libcxxabi/trunk/test/catch_member_function_pointer_01.pass.cpp Tue Jan 19 22:06:46 2016 @@ -7,6 +7,9 @@ // //===----------------------------------------------------------------------===// +// GCC incorrectly allows PMF type "void (T::*)()" to be caught as "void (T::*)() const" +// See https://gcc.gnu.org/bugzilla/show_bug.cgi?id=69375 +// XFAIL: gcc #include <cassert> struct A _______________________________________________ cfe-commits mailing list cfe-commits@lists.llvm.org http://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits