aboutsummaryrefslogtreecommitdiff
path: root/gcc/testsuite/gcc.dg/pr95171.c
blob: af9bde7bc6a2d73ecc02cb58c619d4b909c52848 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
/* { dg-do compile } */
/* { dg-options "-fexceptions -ffinite-math-only -fnon-call-exceptions" } */

inline double __attribute__ ((always_inline))
w9 (int q2)
{
  return __builtin_fabs (__builtin_nan ("")) > 0.0 ? 1.0 : q2 / 1.0;
}

double __attribute__ ((optimize ("-fipa-cp")))
o7 (int iz)
{
  int rj[1];

  (void) rj;

  return w9 (iz);
}