]> git.ipfire.org Git - thirdparty/gcc.git/commitdiff
Remove unused check_effective_target_offload_nvptx
authorThomas Schwinge <thomas@codesourcery.com>
Fri, 22 Feb 2019 10:51:52 +0000 (11:51 +0100)
committerThomas Schwinge <tschwinge@gcc.gnu.org>
Fri, 22 Feb 2019 10:51:52 +0000 (11:51 +0100)
gcc/testsuite/
* lib/target-supports.exp (check_effective_target_offload_nvptx):
Remove.

From-SVN: r269110

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

index dec48441f3099675a168050b53b5a4388c29e037..709e1b1ee04a917df32d36d15fd13e6622d5476e 100644 (file)
@@ -1,5 +1,8 @@
 2019-02-22  Thomas Schwinge  <thomas@codesourcery.com>
 
+       * lib/target-supports.exp (check_effective_target_offload_nvptx):
+       Remove.
+
        PR fortran/72741
        * gfortran.dg/goacc/classify-routine.f95: Adjust.
 
index bf64b2b29e19e0aaae5e90805003827400e41b4a..b63d1e7a1a68e2bccaaadeef575b14e910b21f53 100644 (file)
@@ -8900,14 +8900,6 @@ proc check_effective_target_vect_max_reduc { } {
     return 0
 }
 
-# Return 1 if there is an nvptx offload compiler.
-
-proc check_effective_target_offload_nvptx { } {
-    return [check_no_compiler_messages offload_nvptx object {
-       int main () {return 0;}
-    } "-foffload=nvptx-none" ]
-}
-
 # Return 1 if the compiler has been configured with hsa offloading.
 
 proc check_effective_target_offload_hsa { } {