libcxxabi-test-don-t-fail-extended-long-double
authorLLVM Packaging Team <pkg-llvm-team@lists.alioth.debian.org>
Wed, 4 Dec 2024 12:11:08 +0000 (13:11 +0100)
committerSylvestre Ledru <sylvestre@debian.org>
Wed, 4 Dec 2024 12:11:08 +0000 (13:11 +0100)
Powerpc has extended double that doesn't match x86 coding. Power format would
need special tests to verify correctness but for now it is enough to prevent
incorrect test from running.

Gbp-Pq: Topic libcxx
Gbp-Pq: Name libcxxabi-test-don-t-fail-extended-long-double.patch

libcxxabi/test/test_demangle.pass.cpp

index fe5598991b831b33b46183ae670de5158757c8ef..780c7996c509e5ae66a4f6bcad533a5459ca5832 100644 (file)
@@ -30235,7 +30235,7 @@ const char* invalid_cases[] =
     "_ZNSt16allocator_traitsISaIN4llvm3sys2fs18directory_iteratorEEE9constructIS3_IS3_EEEDTcl12_S_constructfp_fp0_spcl7forwardIT0_Efp1_EEERS4_PT_DpOS7_",
     "3FooILdaaaaaaaaaaAAAAaaEE",
     "3FooILdaaaaaaaaaaaaaaEE",
-#if !LDBL_FP80
+#if !LDBL_FP80 && __LDBL_MANT_DIG__ < 64
     "_ZN5test01hIfEEvRAcvjplstT_Le4001a000000000000000E_c",
 #endif
        // The following test cases were found by libFuzzer+ASAN