------- Comment #3 from pinskia at gcc dot gnu dot org  2008-11-14 23:29 -------
Here is a small example:
struct a {float x, y; };

struct a f(struct a b)
{
  return __real b;
}
int f1(int *b)
{
  return __imag b -  __real b;
}

(In reply to comment #1)
> Further, http://gcc.gnu.org/onlinedocs/gcc/Complex.html#Complex does not
> document what arguments are accepted to __real and __imag at all.

It should be the same as the functions creal and cimag functions support.

Thanks,
Andrew Pinski


-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=33193

Reply via email to