[gcc r12-7021] Skip gnat.dg/div_zero.adb on PowerPC
Eric Botcazou
ebotcazou@gcc.gnu.org
Thu Feb 3 12:21:03 GMT 2022
https://gcc.gnu.org/g:635504510a9410844991c68880f2e7352cacfd86
commit r12-7021-g635504510a9410844991c68880f2e7352cacfd86
Author: Eric Botcazou <ebotcazou@adacore.com>
Date: Thu Feb 3 13:12:37 2022 +0100
Skip gnat.dg/div_zero.adb on PowerPC
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.
Diff:
---
gcc/testsuite/gnat.dg/div_zero.adb | 1 +
1 file changed, 1 insertion(+)
diff --git a/gcc/testsuite/gnat.dg/div_zero.adb b/gcc/testsuite/gnat.dg/div_zero.adb
index c7237bd6ab6..de88951389b 100644
--- a/gcc/testsuite/gnat.dg/div_zero.adb
+++ b/gcc/testsuite/gnat.dg/div_zero.adb
@@ -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
More information about the Gcc-cvs
mailing list