From 77077c8812c25e9a0ddb6ecbb4460d34294da0c2 Mon Sep 17 00:00:00 2001 From: Hans-Peter Nilsson Date: Tue, 21 Jul 2020 02:43:11 +0200 Subject: [PATCH] gcc.dg/independent-cloneids-1.c: Skip for mmix. 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. gcc/testsuite: * gcc.dg/independent-cloneids-1.c: Skip for mmix. flag_stack_usage_info. --- gcc/testsuite/gcc.dg/independent-cloneids-1.c | 1 + 1 file changed, 1 insertion(+) diff --git a/gcc/testsuite/gcc.dg/independent-cloneids-1.c b/gcc/testsuite/gcc.dg/independent-cloneids-1.c index 61c1203..516211a 100644 --- a/gcc/testsuite/gcc.dg/independent-cloneids-1.c +++ b/gcc/testsuite/gcc.dg/independent-cloneids-1.c @@ -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 *, ...); -- 2.7.4