public inbox for gcc-cvs@sourceware.org
help / color / mirror / Atom feed
* [gcc r14-9095] IBM Z: Preserve exceptions in autovec-*-signaling-eq.c tests
@ 2024-02-21 9:50 Ilya Leoshkevich
0 siblings, 0 replies; only message in thread
From: Ilya Leoshkevich @ 2024-02-21 9:50 UTC (permalink / raw)
To: gcc-cvs
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"
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2024-02-21 9:50 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2024-02-21 9:50 [gcc r14-9095] IBM Z: Preserve exceptions in autovec-*-signaling-eq.c tests Ilya Leoshkevich
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).