aboutsummaryrefslogtreecommitdiff
path: root/gcc
diff options
context:
space:
mode:
authorHans-Peter Nilsson <hp@bitrange.com>2015-01-05 03:43:56 +0000
committerHans-Peter Nilsson <hp@gcc.gnu.org>2015-01-05 03:43:56 +0000
commitc38743357ef6b9d5924d628d4c7b59f9cd32033a (patch)
treef6d421791f944a36971bdf4f13da6c0006418744 /gcc
parentec2c793b5a44a9bc418030d4701bd121d9dd6bda (diff)
downloadgcc-c38743357ef6b9d5924d628d4c7b59f9cd32033a.zip
gcc-c38743357ef6b9d5924d628d4c7b59f9cd32033a.tar.gz
gcc-c38743357ef6b9d5924d628d4c7b59f9cd32033a.tar.bz2
debug-1.c: Pass -fno-if-conversion for mmix-knuth-mmixware for the same reason as for MIPS.
* 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. From-SVN: r219181
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 408b501..1690e7b 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 35b5c91..d849527 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 1e86f2f..ed69994 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;