public inbox for gcc-cvs@sourceware.org
help / color / mirror / Atom feed
* [gcc r12-7021] Skip gnat.dg/div_zero.adb on PowerPC
@ 2022-02-03 12:21 Eric Botcazou
  0 siblings, 0 replies; only message in thread
From: Eric Botcazou @ 2022-02-03 12:21 UTC (permalink / raw)
  To: gcc-cvs

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


^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2022-02-03 12:21 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-02-03 12:21 [gcc r12-7021] Skip gnat.dg/div_zero.adb on PowerPC Eric Botcazou

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).