diff mbox series

gcc.dg/const-uniq-1.c: Adjust scanned pattern for mmix.

Message ID alpine.BSF.2.20.16.2007192306160.17434@arjuna.pair.com
State New
Headers show
Series gcc.dg/const-uniq-1.c: Adjust scanned pattern for mmix. | expand

Commit Message

Hans-Peter Nilsson July 20, 2020, 3:06 a.m. UTC
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.
diff mbox series

Patch

--- gcc/gcc/testsuite/gcc.dg/const-uniq-1.c.orig	Mon Jan 13 22:30:47 2020
+++ gcc/gcc/testsuite/gcc.dg/const-uniq-1.c	Mon Jul 20 04:47:35 2020
@@ -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" } } */