re PR tree-optimization/85699 (gcc.dg/nextafter-2.c fail)
authorJakub Jelinek <jakub@redhat.com>
Thu, 10 May 2018 07:38:24 +0000 (09:38 +0200)
committerJakub Jelinek <jakub@gcc.gnu.org>
Thu, 10 May 2018 07:38:24 +0000 (09:38 +0200)
commit573d8a243dd0493796ab9de876690b888c41b520
tree8543a982dc794492df96a04fcd6d8c1cba6fa814
parent86c12f7629b43cbc259d8bbcb1875fff1f8e6a4f
re PR tree-optimization/85699 (gcc.dg/nextafter-2.c fail)

PR tree-optimization/85699
* gcc.dg/nextafter-1.c (NO_LONG_DOUBLE): Define if not defined.  Use
!NO_LONG_DOUBLE instead of __LDBL_MANT_DIG__ != 106.
* gcc.dg/nextafter-2.c: Include stdlib.h.  For glibc < 2.24 define
NO_LONG_DOUBLE to 1 before including nextafter-1.c.

From-SVN: r260107
gcc/testsuite/ChangeLog
gcc/testsuite/gcc.dg/nextafter-1.c
gcc/testsuite/gcc.dg/nextafter-2.c