summaryrefslogtreecommitdiff
path: root/gcc/testsuite/gcc.dg/nextafter-4.c
blob: 7e3639b675c5b41c75c946e30b5d65d068a97d96 (plain)
1
2
3
4
5
6
7
8
9
10
/* PR libstdc++/85466 */
/* { dg-do run } */
/* { dg-options "-O2 -fmath-errno -ftrapping-math -fdump-tree-optimized" } */
/* { dg-add-options ieee } */
/* { dg-final { scan-tree-dump-not "nextafter" "optimized" } } */
/* { dg-final { scan-tree-dump-not "nexttoward" "optimized" } } */

#define NEED_ERRNO 1
#define NEED_EXC 1
#include "nextafter-1.c"