This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

AltiVec test failures


Aldy, David --

We have a bunch of tests (like gcc.dg/altivec-14.c) that are compilation tests for AltiVec. These tests use:

/* { dg-options "-maltivec" } */

However, if your target defaults to a processor that does not have Altivec (like, for example, PPC 603), then the PowerPC back end ignores -maltivec.

I would like to change these tests to do:

/* { dg-options "-maltivec -mcpu=7400" } */

so that the tests work even for these configurations.

Any objection to that change?

--
Mark Mitchell
CodeSourcery, LLC
mark@codesourcery.com
(916) 791-8304


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]