view gcc/testsuite/gcc.c-torture/compile/complex-3.c @ 158:494b0b89df80 default tip

...
author Shinji KONO <kono@ie.u-ryukyu.ac.jp>
date Mon, 25 May 2020 18:13:55 +0900
parents 04ced10e8804
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;
}