[Patch testsuite patch 10/17] Add options for floatN when checking effective target for support

James Greenhalgh james.greenhalgh@arm.com
Fri Nov 11 15:39:00 GMT 2016


Hi,

As Joseph and I discussed in
https://gcc.gnu.org/ml/gcc-patches/2016-11/msg00239.html the
check_effective_target_float<N><x> tests should add any options which the
target requires to enable those float types (add_options_for_float<N><x>.

This patch ensures those options get added, which presently only changes
the testsuite behaviour for the (out-of-tree but submitted for review)
ARM support for _Float16.

Tested on arm-none-linux-gnueabihf with those patches applied, to show that
the _Float16 tests now run.

OK?

Thanks,
James

---

gcc/testsuite/

2016-11-07  James Greenhalgh  <james.greenhalgh@arm.com>

	* lib/target-supports.exp (check_effective_target_float16): Add
	options for _Float16.
	(check_effective_target_float32): Add options for _Float32.
	(check_effective_target_float64): Add options for _Float64.
	(check_effective_target_float128): Add options for _Float128.
	(check_effective_target_float32x): Add options for _Float32x.
	(check_effective_target_float64x): Add options for _Float64x.
	(check_effective_target_float128x): Add options for _Float128x.

-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0010-Patch-testsuite-patch-10-17-Add-options-for-floatN-w.patch
Type: text/x-patch
Size: 1625 bytes
Desc: not available
URL: <http://gcc.gnu.org/pipermail/gcc-patches/attachments/20161111/dc866998/attachment.bin>


More information about the Gcc-patches mailing list