From c38743357ef6b9d5924d628d4c7b59f9cd32033a Mon Sep 17 00:00:00 2001 From: Hans-Peter Nilsson Date: Mon, 5 Jan 2015 03:43:56 +0000 Subject: [PATCH] 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 --- gcc/testsuite/ChangeLog | 4 ++++ gcc/testsuite/gcc.dg/debug/debug-1.c | 6 ++++-- gcc/testsuite/gcc.dg/debug/debug-2.c | 2 +- 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 + * 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 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; -- 2.30.2