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

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

/* { dg-do compile { target c99_runtime } } */
/* { dg-options "-O" } */

#include <complex.h>

int main()
{
  _Complex double x;
  __real x = 3.091e+8;
  __imag x = -4.045e+8;
  /* This used to spend huge amounts of compile-time inside mpc.  */
  volatile _Complex double y = ctan (x);
  return 0;
}