[testsuite] skip ARM tests with conflicting options

Janis Johnson janisjo@codesourcery.com
Tue Jun 7 23:37:00 GMT 2011


On 06/07/2011 02:07 PM, Joseph S. Myers wrote:
> On Tue, 7 Jun 2011, Janis Johnson wrote:
> 
>> Several tests in gcc.target/arm use dg-options with -mcpu=xxxx, which
>> causes compiler warnings or errors when the multilib flags include
>> -march=yyyy.  This patch causes those tests to be skipped.  It also
>> prevents gcc.target/arm/20090811-1.c from running with multilibs that
>> would override -mcpu or -mfloat-abi options specified for the test.
> 
> I think you should allow compatible -march options - for example, if 
> dg-options has -mcpu=cortex-a8, allow -march=armv7-a but disallow all 
> other -march options.
> 
Is this one OK?  I got the arch lists by compiling the -mcpu options
from the tests with each of the -march options listed in the GCC manual
to find the ones that don't get warnings or errors.
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: gcc-20110607-2
URL: <http://gcc.gnu.org/pipermail/gcc-patches/attachments/20110607/5183841d/attachment.ksh>


More information about the Gcc-patches mailing list