]> git.ipfire.org Git - thirdparty/gcc.git/commitdiff
Skip gnat.dg/div_zero.adb on PowerPC
authorEric Botcazou <ebotcazou@adacore.com>
Thu, 3 Feb 2022 12:12:37 +0000 (13:12 +0100)
committerEric Botcazou <ebotcazou@adacore.com>
Thu, 3 Feb 2022 12:20:19 +0000 (13:20 +0100)
The hardware instruction does not trap on divide by zero there.

gcc/testsuite
PR tree-optimization/104356
* gnat.dg/div_zero.adb: Add dg-skip-if directive for PowerPC.

gcc/testsuite/gnat.dg/div_zero.adb

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