https://gcc.gnu.org/g:e90276a4831553268f3dd4917d7b6ae9c08dbf0f

commit r15-7440-ge90276a4831553268f3dd4917d7b6ae9c08dbf0f
Author: Thomas Schwinge <tschwi...@baylibre.com>
Date:   Thu Feb 6 16:31:38 2025 +0100

    BPF doesn't actually support effective-target 'exceptions' [PR118772]
    
            PR target/118772
            gcc/testsuite/
            * lib/target-supports.exp (check_effective_target_exceptions):
            'return 0' for '[istarget bpf-*-*]'.

Diff:
---
 gcc/testsuite/lib/target-supports.exp | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/gcc/testsuite/lib/target-supports.exp 
b/gcc/testsuite/lib/target-supports.exp
index aed2b79c4af7..3ec2fef70c8b 100644
--- a/gcc/testsuite/lib/target-supports.exp
+++ b/gcc/testsuite/lib/target-supports.exp
@@ -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

Reply via email to