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.
This commit is contained in:
Ilya Leoshkevich 2024-02-19 11:51:38 +01:00
parent 608d40fde0
commit 51c0ff6f50
2 changed files with 2 additions and 2 deletions

View file

@ -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"

View file

@ -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"