On Mon, May 07, 2018 at 03:41:58PM +0200, Christophe Lyon wrote:
> I noticed the same problem on arm and aarch64 bare-metal targets using newlib,
> and I thought it was a matter of adding the c99_runtime effective target,
> as done in the attached patch.
> 
> Even if newlib gets a fix for this, the effective target will still
> claim c99_runtime
> is not supported on such targets....

Ok for trunk.

> 2018-05-07  Christophe Lyon  <christophe.l...@linaro.org>
> 
>       * ChangeLog:
>       * gcc.dg/nextafter-2.c: Add c99_runtime effective target and
>       options.

> --- gcc/testsuite/gcc.dg/nextafter-2.c        (revision 259991)
> +++ gcc/testsuite/gcc.dg/nextafter-2.c        (working copy)
> @@ -1,6 +1,8 @@
>  /* PR libstdc++/85466 */
>  /* { dg-do run } */
> +/* { dg-require-effective-target c99_runtime } */
>  /* { dg-options "-O2 -fno-builtin" } */
>  /* { dg-add-options ieee } */
> +/* { dg-add-options c99_runtime } */
>  
>  #include "nextafter-1.c"


        Jakub

Reply via email to