Include math.h in nextafter-2.c test.
authorMichael Meissner <meissner@linux.ibm.com>
Fri, 20 Nov 2020 23:34:24 +0000 (18:34 -0500)
committerMichael Meissner <meissner@linux.ibm.com>
Fri, 20 Nov 2020 23:34:24 +0000 (18:34 -0500)
commit81a3f3d1b6fecc10ba8c460644dfb9ebabbb9eec
tree6d1568504b2d500a1f354249e88c1c967996f6a0
parent9bdb34cebcb4f5a9dcebbb5895d1300c2f869cbf
Include math.h in nextafter-2.c test.

Since the test is compiled with -fno-builtin, include math.h to allow for
implementations (like the PowerPC) that have multiple versions of long double
that are selectable by switch.  Math.h could possibly switch what function
nextafterl points to.

gcc/testsuite/
2020-11-17  Michael Meissner  <meissner@linux.ibm.com>

* gcc.dg/nextafter-2.c: Include math.h.
gcc/testsuite/gcc.dg/nextafter-2.c