aboutsummaryrefslogtreecommitdiff
path: root/gcc/testsuite/gcc.dg/pr88074.c
blob: 082f620fda0254f1c4b9ece1baf20ace6df7fff4 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
/* { 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;
}