When running the testsuite on powerpc-unknown-linux-gnu with extra passes containing -fPIC I get the following additional errors on the 4.4 branch:
FAIL: gcc.c-torture/execute/va-arg-trap-1.c compilation, -O2 (internal compiler error) FAIL: gcc.c-torture/execute/va-arg-trap-1.c compilation, -O3 -fomit-frame-pointer (internal compiler error) FAIL: gcc.c-torture/execute/va-arg-trap-1.c compilation, -O3 -g (internal compiler error) FAIL: gcc.c-torture/execute/va-arg-trap-1.c compilation, -Os (internal compiler error) I don't have a logfile handy, but compiling the test by hand using -fPIC and any one of the above optimization levels I get this error: va-arg-trap-1.c:29: internal compiler error: in move_insn, at haifa-sched.c:1934 The problem does not happen in 4.5 trunk, so perhaps we can backport a fix if it can be identified. -- Summary: gcc.c-torture/execute/va-arg-trap-1.c fails on powerpc- unknown-linux-gnu with -fPIC Product: gcc Version: 4.4.4 Status: UNCONFIRMED Severity: normal Priority: P3 Component: middle-end AssignedTo: unassigned at gcc dot gnu dot org ReportedBy: ghazi at gcc dot gnu dot org GCC target triplet: powerpc-unknown-linux-gnu http://gcc.gnu.org/bugzilla/show_bug.cgi?id=43500