[Bug testsuite/51702] New: Several of the vector tests in gcc.dg fail on powerpc-linux in 32-bit mode

meissner at gcc dot gnu.org gcc-bugzilla@gcc.gnu.org
Thu Dec 29 17:49:00 GMT 2011


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: meissner@gcc.gnu.org
        ReportedBy: meissner@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.



More information about the Gcc-bugs mailing list