view gcc/testsuite/gcc.dg/pr95171.c @ 158:494b0b89df80 default tip

...
author Shinji KONO <kono@ie.u-ryukyu.ac.jp>
date Mon, 25 May 2020 18:13:55 +0900
parents 2b5abeee2509
children
line wrap: on
line source

/* { 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);
}