[testsuite] skip ARM tests with conflicting options

Joseph S. Myers joseph@codesourcery.com
Tue Jun 7 21:20:00 GMT 2011


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.

-- 
Joseph S. Myers
joseph@codesourcery.com



More information about the Gcc-patches mailing list