aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJohn David Anglin <danglin@gcc.gnu.org>2024-01-16 20:04:11 +0000
committerJohn David Anglin <danglin@gcc.gnu.org>2024-01-16 20:04:11 +0000
commitb31a35b8aa97773a18e0c6893474f8bf86c4fd41 (patch)
tree4e2cc52d4352a8bf91e74a1342b9e25a238f55c6
parent3867dfc3062c7216d05a4691c79edbc0bb455713 (diff)
downloadgcc-b31a35b8aa97773a18e0c6893474f8bf86c4fd41.zip
gcc-b31a35b8aa97773a18e0c6893474f8bf86c4fd41.tar.gz
gcc-b31a35b8aa97773a18e0c6893474f8bf86c4fd41.tar.bz2
Skip various cmp-mem-const tests on lp64 hppa*-*-*
Prior optimization already reduced the constant. 2024-01-16 John David Anglin <danglin@gcc.gnu.org> gcc/testsuite/ChangeLog: * gcc.dg/cmp-mem-const-3.c: Skip on lp64 hppa*-*-*. * gcc.dg/cmp-mem-const-4.c: Likewise. * gcc.dg/cmp-mem-const-5.c: Likewise. * gcc.dg/cmp-mem-const-6.c: Likewise.
-rw-r--r--gcc/testsuite/gcc.dg/cmp-mem-const-3.c2
-rw-r--r--gcc/testsuite/gcc.dg/cmp-mem-const-4.c2
-rw-r--r--gcc/testsuite/gcc.dg/cmp-mem-const-5.c2
-rw-r--r--gcc/testsuite/gcc.dg/cmp-mem-const-6.c2
4 files changed, 4 insertions, 4 deletions
diff --git a/gcc/testsuite/gcc.dg/cmp-mem-const-3.c b/gcc/testsuite/gcc.dg/cmp-mem-const-3.c
index c60ecdb..5469f10 100644
--- a/gcc/testsuite/gcc.dg/cmp-mem-const-3.c
+++ b/gcc/testsuite/gcc.dg/cmp-mem-const-3.c
@@ -1,4 +1,4 @@
-/* { dg-do compile { target { lp64 && { ! sparc*-*-* } } } } */
+/* { dg-do compile { target { lp64 && { ! { sparc*-*-* hppa*-*-* } } } } } */
/* Excluding sparc since there we do not end up with a comparison of memory and
a constant which means that the optimization is not applicable. */
/* { dg-options "-O2 -fdump-rtl-combine-details" } */
diff --git a/gcc/testsuite/gcc.dg/cmp-mem-const-4.c b/gcc/testsuite/gcc.dg/cmp-mem-const-4.c
index 7aa403d..9ea094e 100644
--- a/gcc/testsuite/gcc.dg/cmp-mem-const-4.c
+++ b/gcc/testsuite/gcc.dg/cmp-mem-const-4.c
@@ -1,4 +1,4 @@
-/* { dg-do compile { target { lp64 && { ! sparc*-*-* } } } } */
+/* { dg-do compile { target { lp64 && { ! { sparc*-*-* hppa*-*-* } } } } } */
/* Excluding sparc since there we do not end up with a comparison of memory and
a constant which means that the optimization is not applicable. */
/* { dg-options "-O2 -fdump-rtl-combine-details" } */
diff --git a/gcc/testsuite/gcc.dg/cmp-mem-const-5.c b/gcc/testsuite/gcc.dg/cmp-mem-const-5.c
index 4316dcb..5a9096e 100644
--- a/gcc/testsuite/gcc.dg/cmp-mem-const-5.c
+++ b/gcc/testsuite/gcc.dg/cmp-mem-const-5.c
@@ -1,4 +1,4 @@
-/* { dg-do compile { target { lp64 && { ! sparc*-*-* } } } } */
+/* { dg-do compile { target { lp64 && { ! { sparc*-*-* hppa*-*-* } } } } } */
/* Excluding sparc since there a prior optimization already reduced the
constant, i.e., nothing left for us. */
/* { dg-options "-O2 -fdump-rtl-combine-details" } */
diff --git a/gcc/testsuite/gcc.dg/cmp-mem-const-6.c b/gcc/testsuite/gcc.dg/cmp-mem-const-6.c
index d9046af..3811953 100644
--- a/gcc/testsuite/gcc.dg/cmp-mem-const-6.c
+++ b/gcc/testsuite/gcc.dg/cmp-mem-const-6.c
@@ -1,4 +1,4 @@
-/* { dg-do compile { target { lp64 && { ! sparc*-*-* } } } } */
+/* { dg-do compile { target { lp64 && { ! { sparc*-*-* hppa*-*-* } } } } } */
/* Excluding sparc since there a prior optimization already reduced the
constant, i.e., nothing left for us. */
/* { dg-options "-O2 -fdump-rtl-combine-details" } */