This new test has some difficulties on the fabsl function.
On arm this is because we don't support the _Float128 type which the test uses.
This is handled in the patch by requiring a float128 target selector.
On aarch64-none-elf, a Newlib target, it fails because fabsl is not available.
long double support is known to be incomplete in newlib, and the fabsl function is not available
for targets where long double is larger than a double.
Therefore this patch skips the test on such targets.
* gcc.dg/warn-abs-1.c: Require float128 target.
Skip if large_long_double newlib target.
From-SVN: r264392
+2018-09-18 Kyrylo Tkachov <kyrylo.tkachov@arm.com>
+
+ * gcc.dg/warn-abs-1.c: Require float128 target.
+ Skip if large_long_double newlib target.
+
2018-09-18 Nathan Sidwell <nathan@acm.org>
PR c++/86881
-/* { dg-do compile } */
+/* { dg-do compile { target float128 } } */
+/* { dg-skip-if "incomplete long double support" { { newlib } && large_long_double } } */
/* { dg-options "-Wabsolute-value" } */
#include <stdlib.h>