[PATCH] Fix gcc.dg/warn-abs-1.c for arm and aarch64-none-elf

Rainer Orth ro@CeBiTec.Uni-Bielefeld.DE
Tue Sep 18 14:04:00 GMT 2018


Hi Kyrill,

> 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.

this is PR testsuite/87339.  Please fix the ChangeLog accordingly.

	Rainer

-- 
-----------------------------------------------------------------------------
Rainer Orth, Center for Biotechnology, Bielefeld University



More information about the Gcc-patches mailing list