public inbox for gcc-cvs@sourceware.org
help / color / mirror / Atom feed
From: Eric Botcazou <ebotcazou@gcc.gnu.org>
To: gcc-cvs@gcc.gnu.org
Subject: [gcc r12-7021] Skip gnat.dg/div_zero.adb on PowerPC
Date: Thu,  3 Feb 2022 12:21:03 +0000 (GMT)	[thread overview]
Message-ID: <20220203122103.222973858C2C@sourceware.org> (raw)

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


                 reply	other threads:[~2022-02-03 12:21 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20220203122103.222973858C2C@sourceware.org \
    --to=ebotcazou@gcc.gnu.org \
    --cc=gcc-cvs@gcc.gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).