------- Comment #11 from ubizjak at gmail dot com 2008-11-16 21:09 -------
Also fails in return from function:
--cut here--
struct S2848
{
unsigned int a;
_Complex int b;
};
struct S2848 s2848;
struct S2848 __attribute__((noinline))
check2848 (struct S2848 arg0)
{
s2848.a = 4027477739U;
s2848.b = (723419448 + -218144346 * __extension__ 1i);
return s2848;
}
int main()
{
struct S2848 ret;
ret = check2848 (s2848);
if (ret.b != s2848.b)
abort ();
return 0;
}
--cut here--
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=38151