]> git.ipfire.org Git - thirdparty/gcc.git/commitdiff
nvptx doesn't actually support effective-target 'exceptions'
authorThomas Schwinge <tschwinge@baylibre.com>
Thu, 6 Feb 2025 21:46:26 +0000 (22:46 +0100)
committerThomas Schwinge <tschwinge@baylibre.com>
Sat, 8 Feb 2025 11:37:06 +0000 (12:37 +0100)
gcc/testsuite/
* lib/target-supports.exp (check_effective_target_exceptions):
'return 0' for '[istarget nvptx-*-*]'.

gcc/testsuite/lib/target-supports.exp

index 3ec2fef70c8bfe20a540f43edd97196b475a5564..fe1eb34cf228a4e1b1fea406c8a0c4a55d8262a3 100644 (file)
@@ -12564,7 +12564,8 @@ proc check_effective_target_fenv_exceptions_long_double {} {
 
 proc check_effective_target_exceptions {} {
     if { [istarget amdgcn*-*-*]
-        || [istarget bpf-*-*] } {
+        || [istarget bpf-*-*]
+        || [istarget nvptx-*-*] } {
        return 0
     }
     return 1