We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents 1aac622 + 8c48fde commit 0ddfadcCopy full SHA for 0ddfadc
1 file changed
test/suicide.cpp
@@ -57,8 +57,8 @@ void abort_abort_I_repeat_abort_abort() {
57
58
TEST_ABORT(calling_abort) { abort_abort_I_repeat_abort_abort(); }
59
60
-// aarch64 and mips does not trap Division by zero
61
-#if !defined(__aarch64__) && !defined(__mips__)
+// aarch64, mips, PowerPC and RISC-V do not trap Division by zero
+#if !defined(__aarch64__) && !defined(__mips__) && !defined (__powerpc__) && !defined (__riscv)
62
volatile int zero = 0;
63
64
int divide_by_zero() {
0 commit comments