projects
/
platform
/
upstream
/
gcc.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
67cd9cf
)
Skip gnat.dg/div_zero.adb on PowerPC
author
Eric Botcazou
<ebotcazou@adacore.com>
Thu, 3 Feb 2022 12:12:37 +0000
(13:12 +0100)
committer
Eric 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
patch
|
blob
|
history
diff --git
a/gcc/testsuite/gnat.dg/div_zero.adb
b/gcc/testsuite/gnat.dg/div_zero.adb
index
c7237bd
..
de88951
100644
(file)
--- 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