public inbox for gcc-cvs@sourceware.org
help / color / mirror / Atom feed
From: Ilya Leoshkevich <iii@gcc.gnu.org>
To: gcc-cvs@gcc.gnu.org
Subject: [gcc r14-9095] IBM Z: Preserve exceptions in autovec-*-signaling-eq.c tests
Date: Wed, 21 Feb 2024 09:50:55 +0000 (GMT)	[thread overview]
Message-ID: <20240221095055.643893858416@sourceware.org> (raw)

https://gcc.gnu.org/g:51c0ff6f503323908d3326050274fc57899300bd

commit r14-9095-g51c0ff6f503323908d3326050274fc57899300bd
Author: Ilya Leoshkevich <iii@linux.ibm.com>
Date:   Mon Feb 19 11:51:38 2024 +0100

    IBM Z: Preserve exceptions in autovec-*-signaling-eq.c tests
    
    DSE, DCE, and other passes are removing redundant signaling comparisons
    from these tests, but the whole point is to check that GCC knows how to
    emit them.  Use -fno-delete-dead-exceptions to prevent that.
    
    gcc/testsuite/ChangeLog:
    
            * gcc.target/s390/zvector/autovec-double-signaling-eq.c:
            Preserve exceptions.
            * gcc.target/s390/zvector/autovec-float-signaling-eq.c:
            Likewise.

Diff:
---
 gcc/testsuite/gcc.target/s390/zvector/autovec-double-signaling-eq.c | 2 +-
 gcc/testsuite/gcc.target/s390/zvector/autovec-float-signaling-eq.c  | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/gcc/testsuite/gcc.target/s390/zvector/autovec-double-signaling-eq.c b/gcc/testsuite/gcc.target/s390/zvector/autovec-double-signaling-eq.c
index 3645d3cc3937..b23568e06b46 100644
--- a/gcc/testsuite/gcc.target/s390/zvector/autovec-double-signaling-eq.c
+++ b/gcc/testsuite/gcc.target/s390/zvector/autovec-double-signaling-eq.c
@@ -1,5 +1,5 @@
 /* { dg-do compile } */
-/* { dg-options "-O3 -march=z14 -mzvector -mzarch -fexceptions -fnon-call-exceptions" } */
+/* { dg-options "-O3 -march=z14 -mzvector -mzarch -fexceptions -fnon-call-exceptions -fno-delete-dead-exceptions" } */
 
 #include "autovec.h"
 
diff --git a/gcc/testsuite/gcc.target/s390/zvector/autovec-float-signaling-eq.c b/gcc/testsuite/gcc.target/s390/zvector/autovec-float-signaling-eq.c
index d98aa0c494ee..cd25d10c577b 100644
--- a/gcc/testsuite/gcc.target/s390/zvector/autovec-float-signaling-eq.c
+++ b/gcc/testsuite/gcc.target/s390/zvector/autovec-float-signaling-eq.c
@@ -1,5 +1,5 @@
 /* { dg-do compile } */
-/* { dg-options "-O3 -march=z14 -mzvector -mzarch -fexceptions -fnon-call-exceptions" } */
+/* { dg-options "-O3 -march=z14 -mzvector -mzarch -fexceptions -fnon-call-exceptions -fno-delete-dead-exceptions" } */
 
 #include "autovec.h"

                 reply	other threads:[~2024-02-21  9:50 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=20240221095055.643893858416@sourceware.org \
    --to=iii@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).