view gcc/testsuite/gcc.dg/pr89520-2.c @ 145:1830386684a0

gcc-9.2.0
author anatofuz
date Thu, 13 Feb 2020 11:34:05 +0900
parents
children
line wrap: on
line source

/* PR c/89520 */
/* { dg-do compile } */
/* { dg-options "-Ofast -w" } */

#define A(name) __typeof (__builtin_##name (0)) name (); \
  float name##1 () { return name (); } \
  double name##2 () { return name (); }
#define B(name) A(name) A(name##l)
B (cosh)
B (exp)
B (exp10)
B (exp2)
B (expm1)
B (gamma)
B (j0)
B (j1)
B (lgamma)
B (pow10)
B (sinh)
B (tgamma)
B (y0)
B (y1)
B (acos)
B (acosh)
B (asin)
B (asinh)
B (atan)
B (atanh)
B (cbrt)
B (cos)
B (erf)
B (erfc)
B (log)
B (log10)
B (log2)
B (log1p)
B (sin)
B (tan)
B (tanh)
B (sqrt)
B (fabs)
B (logb)