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

gcc/testsuite/lib/target-supports.exp

index aed2b79c4af707ea7aa528fa5630e696d0893428..3ec2fef70c8bfe20a540f43edd97196b475a5564 100644 (file)
@@ -12563,7 +12563,8 @@ proc check_effective_target_fenv_exceptions_long_double {} {
 # Note that this is orthogonal to effective-target 'exceptions_enabled'.
 
 proc check_effective_target_exceptions {} {
-    if { [istarget amdgcn*-*-*] } {
+    if { [istarget amdgcn*-*-*]
+        || [istarget bpf-*-*] } {
        return 0
     }
     return 1