summaryrefslogtreecommitdiff
path: root/gcc
diff options
context:
space:
mode:
authorhp <hp@138bc75d-0d04-0410-961f-82ee72b054a4>2015-01-05 03:43:56 +0000
committerhp <hp@138bc75d-0d04-0410-961f-82ee72b054a4>2015-01-05 03:43:56 +0000
commit79385e8e7c64732ee21e560a16498379a065ab93 (patch)
treef6d421791f944a36971bdf4f13da6c0006418744 /gcc
parentedebe5f86dccea10f460f22592843ebf9250903c (diff)
downloadgcc-79385e8e7c64732ee21e560a16498379a065ab93.tar.gz
* gcc.dg/debug/debug-1.c: Pass -fno-if-conversion for
mmix-knuth-mmixware for the same reason as for MIPS. * gcc.dg/debug/debug-2.c: Ditto. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@219181 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc')
-rw-r--r--gcc/testsuite/ChangeLog4
-rw-r--r--gcc/testsuite/gcc.dg/debug/debug-1.c6
-rw-r--r--gcc/testsuite/gcc.dg/debug/debug-2.c2
3 files changed, 9 insertions, 3 deletions
diff --git a/gcc/testsuite/ChangeLog b/gcc/testsuite/ChangeLog
index 408b501bae0..1690e7b0224 100644
--- a/gcc/testsuite/ChangeLog
+++ b/gcc/testsuite/ChangeLog
@@ -1,5 +1,9 @@
2015-01-05 Hans-Peter Nilsson <hp@bitrange.com>
+ * gcc.dg/debug/debug-1.c: Pass -fno-if-conversion for
+ mmix-knuth-mmixware for the same reason as for MIPS.
+ * gcc.dg/debug/debug-2.c: Ditto.
+
* gcc.dg/pr42629.c: Only pass scheduling options on scheduling targets.
2015-01-03 John David Anglin <danglin@gcc.gnu.org>
diff --git a/gcc/testsuite/gcc.dg/debug/debug-1.c b/gcc/testsuite/gcc.dg/debug/debug-1.c
index 35b5c91b1f3..d849527d211 100644
--- a/gcc/testsuite/gcc.dg/debug/debug-1.c
+++ b/gcc/testsuite/gcc.dg/debug/debug-1.c
@@ -17,8 +17,10 @@
these two instructions, removing the last use of P and xyzzy.
Everything is behaving as expected in this scenario, so we avoid
- using conditional moves for this test. */
-/* { dg-options "-dA -fno-if-conversion" { target mips*-*-* } } */
+ using conditional moves for this test.
+
+ Similar for MMIX, with the payload insns being "LDO $0,p; ZSNZ $0,$0,2". */
+/* { dg-options "-dA -fno-if-conversion" { target mips*-*-* mmix-knuth-mmixware } } */
/* { dg-final { scan-assembler "xyzzy" } } */
long p;
diff --git a/gcc/testsuite/gcc.dg/debug/debug-2.c b/gcc/testsuite/gcc.dg/debug/debug-2.c
index 1e86f2fc706..ed69994df55 100644
--- a/gcc/testsuite/gcc.dg/debug/debug-2.c
+++ b/gcc/testsuite/gcc.dg/debug/debug-2.c
@@ -2,7 +2,7 @@
/* { dg-do compile } */
/* { dg-options "-dA" } */
/* See the comment in debug-1.c. */
-/* { dg-options "-dA -fno-if-conversion" { target mips*-*-* } } */
+/* { dg-options "-dA -fno-if-conversion" { target mips*-*-* mmix-knuth-mmixware } } */
/* { dg-final { scan-assembler "xyzzy" } } */
long p;