rs6000, testsuite: Correct the broken_cplxf_arg test
commitb47e90c6c7eb9980cde28dd44178f56d6bcc999b
authorsegher <segher@138bc75d-0d04-0410-961f-82ee72b054a4>
Sun, 12 Mar 2017 00:04:02 +0000 (12 00:04 +0000)
committersegher <segher@138bc75d-0d04-0410-961f-82ee72b054a4>
Sun, 12 Mar 2017 00:04:02 +0000 (12 00:04 +0000)
tree54a754d038eac5070fa82f715728d297c36120b0
parentae7d0bbd96887f415bda7818317acd6ead5d068a
rs6000, testsuite: Correct the broken_cplxf_arg test

check_effective_target_broken_cplxf_arg is buggy.  It actually tests
if passing complex float works, not if it fails.  Also, it only runs
the test for target powerpc64-linux, but we are biarch, so it should
be powerpc*-linux.

This also changes the early-out conditions to be separate, because
the big combined condition was hard to follow.

This fixes the libstdc++ tests:

Running target unix/-m64
XPASS: 26_numerics/complex/13450.cc execution test
XPASS: 26_numerics/complex/pow.cc execution test
XPASS: 26_numerics/complex/value_operations/1.cc execution test

which were the last failing libstdc++ tests on BE.

gcc/testsuite/
* lib/target-supports.exp (check_effective_target_broken_cplxf_arg):
Fix test.  Make early-out condition return early.  Correct comments.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@246072 138bc75d-0d04-0410-961f-82ee72b054a4
gcc/testsuite/ChangeLog
gcc/testsuite/lib/target-supports.exp