From: Thomas Schwinge Date: Thu, 6 Feb 2025 15:31:38 +0000 (+0100) Subject: BPF doesn't actually support effective-target 'exceptions' [PR118772] X-Git-Tag: basepoints/gcc-16~2113 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=e90276a4831553268f3dd4917d7b6ae9c08dbf0f;p=thirdparty%2Fgcc.git 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 --git a/gcc/testsuite/lib/target-supports.exp b/gcc/testsuite/lib/target-supports.exp index aed2b79c4af..3ec2fef70c8 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