[testsuite] ARM tests should ignore warning about conflicting switches

Janis Johnson janisjo@codesourcery.com
Tue Jun 14 18:16:00 GMT 2011


On 06/14/2011 10:47 AM, Janis Johnson wrote:
> Many tests in gcc.target/arm that specify "-march=" fail compilation
> when multilib flags include "-mcpu=" due to warnings about conflicts in
> switches, but then go on to pass the remainder of the test.  This patch
> causes some of those tests to ignore that compiler warning; I'll get to
> the rest later.
> 
> Alternate options for tests that specify -march is to skip for multilibs
> that include -mcpu, or a new test directive or effective target to skip
> a test if the options used generate a warning.
> 
> Tested on arm-none-linux-gnueabi with a variety of multilib flags,
> including some with "-mcpu=".  OK for trunk and 4.6?
> 
> Janis

The ChangeLog entry should include gcc.target/arm for each of these tests.



More information about the Gcc-patches mailing list