[Patch testsuite patch 10/17] Add options for floatN when checking effective target...
authorJames Greenhalgh <james.greenhalgh@arm.com>
Wed, 23 Nov 2016 17:28:36 +0000 (17:28 +0000)
committerJames Greenhalgh <jgreenhalgh@gcc.gnu.org>
Wed, 23 Nov 2016 17:28:36 +0000 (17:28 +0000)
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

gcc/testsuite/ChangeLog
gcc/testsuite/lib/target-supports.exp

index 99c89b6..44c1f26 100644 (file)
@@ -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.
 
index 201bbf3..624c2e2 100644 (file)
@@ -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