c-c++-common/pr56493.c: Allow ":" in label, for mmix.

Message ID alpine.BSF.2.20.16.2007241807230.12729@arjuna.pair.com
State New
Headers show
Series
  • c-c++-common/pr56493.c: Allow ":" in label, for mmix.
Related show

Commit Message

Hans-Peter Nilsson July 24, 2020, 10:08 p.m.
Committed.

No dots in labels for MMIX: internal labels instead contain ":".

gcc/testsuite:

	* c-c++-common/pr56493.c: Allow ":" in label, for mmix.

Patch

--- gcc/gcc/testsuite/c-c++-common/pr56493.c.orig	Mon Jan 13 22:30:46 2020
+++ gcc/gcc/testsuite/c-c++-common/pr56493.c	Sat Jul 25 00:00:28 2020
@@ -12,4 +12,4 @@  foo (void)
 }

 /* Verify we narrow the addition from unsigned long long to unsigned int type.  */
-/* { dg-final { scan-tree-dump "  (\[a-zA-Z._0-9$]*) = \\(unsigned int\\) \[^;\n\r]*;.*  (\[a-zA-Z._0-9$]*) = \\(unsigned int\\) \[^;\n\r]*;.* = \\1 \\+ \\2;" "gimple" { target { ilp32 || lp64 } } } } */
+/* { dg-final { scan-tree-dump "  (\[a-zA-Z._0-9$:]*) = \\(unsigned int\\) \[^;\n\r]*;.*  (\[a-zA-Z._0-9$:]*) = \\(unsigned int\\) \[^;\n\r]*;.* = \\1 \\+ \\2;" "gimple" { target { ilp32 || lp64 } } } } */