gcc.dg/independent-cloneids-1.c: Skip for mmix.

Message ID alpine.BSF.2.20.16.2007202042550.72168@arjuna.pair.com
State New
Headers show
Series
  • gcc.dg/independent-cloneids-1.c: Skip for mmix.
Related show

Commit Message

Hans-Peter Nilsson July 21, 2020, 12:43 a.m.
Regular ELF label definitions for this test-case, matched by the
regexps, e.g.:
 /* { dg-final { scan-assembler-times {(?n)^_*bar[.$_]constprop[.$_]0:} 1 } } */
typically look like this:
bar_constprop.0:

For MMIX, they look like this:
bar_constprop::0	IS @

I think it's better to just skip the test for MMIX than further
uglifying the matching regexps, since the test is IIUC general
enough that nothing in the target port can reasonably make a
difference: it passes for all targets or fail for all targets.
Committed.

gcc/testsuite:
	* gcc.dg/independent-cloneids-1.c: Skip for mmix.

Patch

--- gcc/gcc/testsuite/gcc.dg/independent-cloneids-1.c.orig	Tue Jul 21 02:13:46 2020
+++ gcc/gcc/testsuite/gcc.dg/independent-cloneids-1.c	Tue Jul 21 02:15:27 2020
@@ -1,5 +1,6 @@ 
 /* { dg-do compile } */
 /* { dg-options "-O3 -fipa-cp -fipa-cp-clone"  } */
+/* { dg-skip-if "Odd label definition syntax" { mmix-*-* } } */

 extern int printf (const char *, ...);