view gcc/testsuite/gcc.c-torture/compile/complex-3.c @ 111:04ced10e8804

gcc 7
author kono
date Fri, 27 Oct 2017 22:46:09 +0900
parents
children
line wrap: on
line source

/* PR 22116 */

void g(_Complex float);
_Complex float f(int data, _Complex float x, _Complex float y)
{
  _Complex float i, t;
  if (data) 
  {
    i = x +  __imag__ y;
    g(i);
  }
  else
    i = 5;
  t = x + __imag__ y;
  g(t);
  return t * i;
}