diff options
author | James Greenhalgh <james.greenhalgh@arm.com> | 2016-11-23 17:28:36 +0000 |
---|---|---|
committer | James Greenhalgh <jgreenhalgh@gcc.gnu.org> | 2016-11-23 17:28:36 +0000 |
commit | ba75a1747c5094c60acea726c83e5d69a4373cb1 (patch) | |
tree | 5e7d7a8d2188e70211ee7d3ad1a3d74eac6084f8 /gcc | |
parent | 5823ef233578d8f6e3770bf92e72c1c977067d13 (diff) | |
download | gcc-ba75a1747c5094c60acea726c83e5d69a4373cb1.zip gcc-ba75a1747c5094c60acea726c83e5d69a4373cb1.tar.gz gcc-ba75a1747c5094c60acea726c83e5d69a4373cb1.tar.bz2 |
[Patch testsuite patch 10/17] Add options for floatN when checking effective target for support
gcc/testsuite/
* 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.
From-SVN: r242780
Diffstat (limited to 'gcc')
-rw-r--r-- | gcc/testsuite/ChangeLog | 11 | ||||
-rw-r--r-- | gcc/testsuite/lib/target-supports.exp | 14 |
2 files changed, 18 insertions, 7 deletions
diff --git a/gcc/testsuite/ChangeLog b/gcc/testsuite/ChangeLog index 99c89b6..44c1f26 100644 --- a/gcc/testsuite/ChangeLog +++ b/gcc/testsuite/ChangeLog @@ -1,5 +1,16 @@ 2016-11-23 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. + +2016-11-23 James Greenhalgh <james.greenhalgh@arm.com> + * gcc.dg/fpermitted-flt-eval-methods_3.c: New. * gcc.dg/fpermitted-flt-eval-methods_4.c: Likewise. diff --git a/gcc/testsuite/lib/target-supports.exp b/gcc/testsuite/lib/target-supports.exp index 201bbf3..624c2e2 100644 --- a/gcc/testsuite/lib/target-supports.exp +++ b/gcc/testsuite/lib/target-supports.exp @@ -2527,43 +2527,43 @@ proc check_effective_target_has_q_floating_suffix { } { proc check_effective_target_float16 {} { return [check_no_compiler_messages_nocache float16 object { _Float16 x; - }] + } [add_options_for_float16 ""]] } proc check_effective_target_float32 {} { return [check_no_compiler_messages_nocache float32 object { _Float32 x; - }] + } [add_options_for_float32 ""]] } proc check_effective_target_float64 {} { return [check_no_compiler_messages_nocache float64 object { _Float64 x; - }] + } [add_options_for_float64 ""]] } proc check_effective_target_float128 {} { return [check_no_compiler_messages_nocache float128 object { _Float128 x; - }] + } [add_options_for_float128 ""]] } proc check_effective_target_float32x {} { return [check_no_compiler_messages_nocache float32x object { _Float32x x; - }] + } [add_options_for_float32x ""]] } proc check_effective_target_float64x {} { return [check_no_compiler_messages_nocache float64x object { _Float64x x; - }] + } [add_options_for_float64x ""]] } proc check_effective_target_float128x {} { return [check_no_compiler_messages_nocache float128x object { _Float128x x; - }] + } [add_options_for_float128x ""]] } # Likewise, but runtime support for any special options used as well |