gcc.dg/const-uniq-1.c: Adjust scanned pattern for mmix.
authorHans-Peter Nilsson <hp@bitrange.com>
Mon, 20 Jul 2020 03:06:49 +0000 (05:06 +0200)
committerHans-Peter Nilsson <hp@bitrange.com>
Mon, 20 Jul 2020 03:06:49 +0000 (05:06 +0200)
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

index 0e0718bf5057cbb22b73a705995f0b10f78ce013..ba7021b8385959d4007b1d0db2687ae56e16afb3 100644 (file)
@@ -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" } } */