http://gcc.gnu.org/bugzilla/show_bug.cgi?id=51702
Bug #: 51702 Summary: Several of the vector tests in gcc.dg fail on powerpc-linux in 32-bit mode Classification: Unclassified Product: gcc Version: 4.7.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: testsuite AssignedTo: meiss...@gcc.gnu.org ReportedBy: meiss...@gcc.gnu.org Host: powerpc64-linux Target: powerpc64-linux Build: powerpc64-linux Several of the tests in gcc.dg get an extra warning when run on 32-bit powerpc-linux systems, which causes the test to fail. The cause is these tests are testing the machine independent vector support, and the compiler issues a warning message about passing vectors by value, because the Altivec ABI is not enabled. Adding -mabi=altivec for the tests, enables them to pass.