[testsuite] ARM tests should ignore warning about conflicting switches

Janis Johnson janisjo@codesourcery.com
Tue Jun 14 17:50:00 GMT 2011


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
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: gcc-20110614-1
URL: <http://gcc.gnu.org/pipermail/gcc-patches/attachments/20110614/7f6d5c76/attachment.ksh>


More information about the Gcc-patches mailing list