Hi all,

the attached patch tries to silence a warning from the msun of FreeBSD.
When compiling the special_functions testcases, I get excess errors because of this warning:

warning: tgammal has lower than advertised precision

With the patch, all special_functions test cases pass now.

What do you think?

TIA,
Andreas


2019-09-30  Andreas Tobler  <andre...@gcc.gnu.org>

        * testsuite/lib/prune.exp (libstdc++-dg-prune): Ignore the FreeBSD
        warning about lower advertised precision of tgammal.


Index: testsuite/lib/prune.exp
===================================================================
--- testsuite/lib/prune.exp     (revision 276342)
+++ testsuite/lib/prune.exp     (working copy)
@@ -66,6 +66,10 @@
     # Ignore harmless warnings from Xcode 4.0.
regsub -all "(^|\n)\[^\n\]*ld: warning: could not create compact unwind for\[^\n\]*" $text "" text

+    # Ignore FreeBSD msun warning
+ regsub -all "(^|\n)\[^\n]*ld: \[^\n\]* in function \[^\n\]*" $text "" text + regsub -all "(^|\n)\[^\n]*warning: tgammal has lower than advertised precision" $text "" text
+
     foreach p $additional_prunes {
        if { [string length $p] > 0 } {
            # Following regexp matches a complete line containing $p.

Reply via email to