[testsuite] modify powerpc test for hard_float target, skip powerpc/warn-[12].c for soft-float

Janis Johnson janis_johnson@mentor.com
Mon Oct 10 20:38:00 GMT 2011


Tests gcc.target/powerpc/warn-[12].c fail for soft-float multilibs with
the unexpected warning "-mvsx requires hardware floating point [enabled
by default]".  This patch skips those tests for soft-float multilibs and
modifies the powerpc check for a soft-float effective target to return
true for either __NO_FPRS__ or _SOFT_FLOAT being defined.

Is this OK for trunk?  I must admit that I'm not sure what all those
Power float variants are for.
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: gcc-20111010-1
URL: <http://gcc.gnu.org/pipermail/gcc-patches/attachments/20111010/2a58b913/attachment.ksh>


More information about the Gcc-patches mailing list