[Bug testsuite/38151] structures with _Complex arguments are not passed correctly

2008-11-16 Thread ubizjak at gmail dot com
--- 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;

[Bug testsuite/38151] structures with _Complex arguments are not passed correctly

2008-11-16 Thread ubizjak at gmail dot com
--- Comment #10 from ubizjak at gmail dot com 2008-11-16 20:58 --- Real bug with argument passing. Confirmed on x86_64-linux-gnu with the testcase: --cut here-- struct S2848 { unsigned int a; _Complex int b; }; struct S2848 s2848; void __attribute__((noinline)) check2848 (struct S