From a78e5d307c69d4e91cd0e43d84e98be9593e68de Mon Sep 17 00:00:00 2001 From: Iain Sandoe Date: Sun, 19 Jun 2022 10:16:26 +0100 Subject: [PATCH] testsuite: Add a missing USER_LABEL_PREFIX to a regex. Fixes this test on Darwin. Signed-off-by: Iain Sandoe gcc/testsuite/ChangeLog: * g++.dg/modules/init-2_b.C: Add a missing USER_LABEL_PREFIX to a regex. --- gcc/testsuite/g++.dg/modules/init-2_b.C | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gcc/testsuite/g++.dg/modules/init-2_b.C b/gcc/testsuite/g++.dg/modules/init-2_b.C index a98e67616a2e..e30a555e39ac 100644 --- a/gcc/testsuite/g++.dg/modules/init-2_b.C +++ b/gcc/testsuite/g++.dg/modules/init-2_b.C @@ -8,4 +8,4 @@ import Foo; // There should be an idempotency check // { dg-final { scan-assembler {_ZZ9_ZGIW3BarE9__in_chrg} } } // { dg-final { scan-assembler {call[ \t]+_?_ZGIW3Foo} { target i?86-*-* x86_64-*-* } } } -// { dg-final { scan-assembler {.(quad|long)[ \t]+_ZGIW3Bar} { target i?86-*-* x86_64-*-* } } } +// { dg-final { scan-assembler {.(quad|long)[ \t]+_?_ZGIW3Bar} { target i?86-*-* x86_64-*-* } } } -- 2.47.2