]> git.ipfire.org Git - thirdparty/gcc.git/commitdiff
Skip gnat.dg/div_zero.adb on RISC-V
authorAndreas Schwab <schwab@suse.de>
Sat, 16 Dec 2023 22:14:10 +0000 (23:14 +0100)
committerAndreas Schwab <schwab@suse.de>
Thu, 15 Feb 2024 09:29:02 +0000 (10:29 +0100)
Like AArch64 and POWER, RISC-V does not support trap on zero divide.

gcc/testsuite/
* gnat.dg/div_zero.adb: Skip on RISC-V.

gcc/testsuite/gnat.dg/div_zero.adb

index dedf3928db710b1638fe03bd44018da9c7054e6c..fb1c98caeffdf0f7d5d472d1b84dee96bbb20d21 100644 (file)
@@ -1,5 +1,5 @@
 -- { dg-do run }
--- { dg-skip-if "divide does not trap" { aarch64*-*-* powerpc*-*-* } }
+-- { dg-skip-if "divide does not trap" { aarch64*-*-* powerpc*-*-* riscv*-*-* } }
 
 -- This test requires architecture- and OS-specific support code for unwinding
 -- through signal frames (typically located in *-unwind.h) to pass.  Feel free