From: James Greenhalgh Date: Wed, 23 Nov 2016 17:28:36 +0000 (+0000) Subject: [Patch testsuite patch 10/17] Add options for floatN when checking effective target... X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=ba75a1747c5094c60acea726c83e5d69a4373cb1;p=gcc.git [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 --- diff --git a/gcc/testsuite/ChangeLog b/gcc/testsuite/ChangeLog index 99c89b60d39..44c1f262e35 100644 --- a/gcc/testsuite/ChangeLog +++ b/gcc/testsuite/ChangeLog @@ -1,3 +1,14 @@ +2016-11-23 James Greenhalgh + + * 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 * gcc.dg/fpermitted-flt-eval-methods_3.c: New. diff --git a/gcc/testsuite/lib/target-supports.exp b/gcc/testsuite/lib/target-supports.exp index 201bbf393d0..624c2e29f7c 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