From 0251a7eef9638f4c1e6a96af60d9607c37821b14 Mon Sep 17 00:00:00 2001 From: Hans-Peter Nilsson Date: Mon, 20 Jul 2020 05:06:49 +0200 Subject: [PATCH] gcc.dg/const-uniq-1.c: Adjust scanned pattern for mmix. Apparently local labels end up in the gimple dumps. For mmix, local labels that for other targets look like ".LC0" or "LC.0" instead look like "LC:0". Committed as obvious. gcc/testsuite: * gcc.dg/const-uniq-1.c: Adjust scanned pattern for mmix. --- gcc/testsuite/gcc.dg/const-uniq-1.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gcc/testsuite/gcc.dg/const-uniq-1.c b/gcc/testsuite/gcc.dg/const-uniq-1.c index 0e0718bf505..ba7021b8385 100644 --- a/gcc/testsuite/gcc.dg/const-uniq-1.c +++ b/gcc/testsuite/gcc.dg/const-uniq-1.c @@ -20,4 +20,4 @@ int lookup2 (int i) return a[i+1]; } -/* { dg-final { scan-tree-dump-times "\[lL\]\\\$?C\\\.*0" 2 "gimple" } } */ +/* { dg-final { scan-tree-dump-times "\[lL\]\\\$?C\[.:\]*0" 2 "gimple" } } */ -- 2.30.2