[Bug middle-end/118006] ICE when building rr-5.8.0 with -fstrub=all (RTL check: expected elt 2 type 'B', have '0' (rtx barrier) in BLOCK_FOR_INSN, at rtl.h:1499)
sjames at gcc dot gnu.org
gcc-bugzilla@gcc.gnu.org
Thu Dec 12 02:38:24 GMT 2024
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=118006
--- Comment #3 from Sam James <sjames at gcc dot gnu.org> ---
Maybe this is good enough:
```
__attribute__((noipa))
long _raw_syscall(void *, long, long) {
__builtin_abort();
}
static int privileged_traced_syscall() {
return _raw_syscall(0, 0, 0);
}
__attribute__((noreturn)) void privileged_traced_raise() {
privileged_traced_syscall();
}
```
More information about the Gcc-bugs
mailing list