https://gcc.gnu.org/bugzilla/show_bug.cgi?id=118772
Bug ID: 118772 Summary: BPF doesn't actually support effective-target 'exceptions'? Product: gcc Version: 15.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: target Assignee: unassigned at gcc dot gnu.org Reporter: tschwinge at gcc dot gnu.org CC: jemarch at gcc dot gnu.org Target Milestone: --- Target: BPF Working on GCN, nvptx targets, I find that a few GCC test cases are incorrectly tagged as requiring effective-target 'nonlocal_goto', when in fact they should require effective-target 'exceptions', and I'd like to fix this up in the affected test cases. However: while BPF currently isn't effective-target 'nonlocal_goto' (correct, per my understanding), but it claims to support effective-target 'exceptions' (wrong, per my understanding). (For example, "In eBPF it is not possible to unwind frames." comments in 'gcc/config/bpf/bpf.h', 'gcc/config/bpf/bpf.cc'.) If you ACK, to avoid regressing the to-be-fixed test cases for BPF, I'll add '[istarget bpf-*-*]' to the 'return 0' branch in 'gcc/testsuite/lib/target-supports.exp:check_effective_target_exceptions'. (Likewise for nvptx...)