Another fix for a non-regression FAIL.  See the elaborate comment for
MIPS, updated to cover mmix-knuth-mmixware.

        * 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.

Index: gcc.dg/debug/debug-1.c
===================================================================
--- gcc.dg/debug/debug-1.c      (revision 215610)
+++ gcc.dg/debug/debug-1.c      (working copy)
@@ -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;
Index: gcc.dg/debug/debug-2.c
===================================================================
--- gcc.dg/debug/debug-2.c      (revision 215610)
+++ gcc.dg/debug/debug-2.c      (working copy)
@@ -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;

brgds, H-P

Reply via email to