[libcxx] r199694 - Fixed test failure in is_iec559.pass.cpp on darwin-ppc32. Thanks to David Fang for the report (and suggested fix)

Marshall Clow mclow.lists at gmail.com
Mon Jan 20 15:57:16 PST 2014


Author: marshall
Date: Mon Jan 20 17:57:16 2014
New Revision: 199694

URL: http://llvm.org/viewvc/llvm-project?rev=199694&view=rev
Log:
Fixed test failure in is_iec559.pass.cpp on darwin-ppc32. Thanks to David Fang for the report (and suggested fix)

Modified:
    libcxx/trunk/test/language.support/support.limits/limits/numeric.limits.members/is_iec559.pass.cpp

Modified: libcxx/trunk/test/language.support/support.limits/limits/numeric.limits.members/is_iec559.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/language.support/support.limits/limits/numeric.limits.members/is_iec559.pass.cpp?rev=199694&r1=199693&r2=199694&view=diff
==============================================================================
--- libcxx/trunk/test/language.support/support.limits/limits/numeric.limits.members/is_iec559.pass.cpp (original)
+++ libcxx/trunk/test/language.support/support.limits/limits/numeric.limits.members/is_iec559.pass.cpp Mon Jan 20 17:57:16 2014
@@ -45,4 +45,9 @@ int main()
     test<float, true>();
     test<double, true>();
     test<long double, true>();
+#if (defined(__ppc__) || defined(__ppc64__))
+    test<long double, false>();
+#else
+     test<long double, true>();
+#endif
 }





More information about the cfe-commits mailing list