I have not looked into this testcase that much but I may as well file it so that I don't lose track of it. Anyways gcc.target/x86_64/abi/test_passing_unions.c fails with: /home/pinskia/src/types/gcc/gcc/testsuite/gcc.target/x86_64/abi/test_passing_unions.c: In function 'main':^M /home/pinskia/src/types/gcc/gcc/testsuite/gcc.target/x86_64/abi/test_passing_unions.c:144: error: statement types mismatch^M callthisD.1776 = check_union_passing1D.1872;^M ^M voidD.35 (*<T3fa>) (void)^M voidD.35 (*<T432>) (union un1)^M /home/pinskia/src/types/gcc/gcc/testsuite/gcc.target/x86_64/abi/test_passing_unions.c:144: error: statement types mismatch^M callthisD.1776 = check_union_passing1D.1872;^M ^M voidD.35 (*<T3fa>) (void)^M voidD.35 (*<T432>) (union un1)^M /home/pinskia/src/types/gcc/gcc/testsuite/gcc.target/x86_64/abi/test_passing_unions.c:144: error: statement types mismatch^M callthisD.1776 = check_union_passing2D.1888;^M ^M voidD.35 (*<T3fa>) (void)^M voidD.35 (*<T471>) (union un2)^M etc.
This fails at -O0 also which might mean this is C front-end bug but I am leaving this as a middle-end for now until I get a testcase. -- Summary: gcc.target/x86_64/abi/test_passing_unions.c fails with some type mismatches Product: gcc Version: 4.2.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: middle-end AssignedTo: unassigned at gcc dot gnu dot org ReportedBy: pinskia at gcc dot gnu dot org OtherBugsDependingO 22368 nThis: http://gcc.gnu.org/bugzilla/show_bug.cgi?id=25269