From e337881fc231ecd5834bc11a5c2056d2dc5615d5 Mon Sep 17 00:00:00 2001 From: Iain Sandoe Date: Sat, 12 Sep 2020 09:54:18 +0100 Subject: [PATCH] testsuite, Darwin, Arm64 : Add U_L_P to bf16 mangling test. gcc/testsuite/ChangeLog * g++.dg/ext/arm-bf16/bf16-mangle-aarch64-1.C: Adjust scan- asms to allow for USER_LABEL_PREFIX and Darwin assembler syntax. (cherry picked from commit aaece0d8fea80b13cc02c89d09f487d7fc035303) Signed-off-by: Kirill A. Korinsky --- gcc/testsuite/g++.dg/ext/arm-bf16/bf16-mangle-aarch64-1.C | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git gcc/testsuite/g++.dg/ext/arm-bf16/bf16-mangle-aarch64-1.C gcc/testsuite/g++.dg/ext/arm-bf16/bf16-mangle-aarch64-1.C index 5426a1814b8..a017ce8ce5f 100644 --- gcc/testsuite/g++.dg/ext/arm-bf16/bf16-mangle-aarch64-1.C +++ gcc/testsuite/g++.dg/ext/arm-bf16/bf16-mangle-aarch64-1.C @@ -2,12 +2,12 @@ /* Test mangling */ -/* { dg-final { scan-assembler "\t.global\t_Z1fPu6__bf16" } } */ +/* { dg-final { scan-assembler {\t.globa?l[ \t]_?_Z1fPu6__bf16} } } */ void f (__bf16 *x) { } -/* { dg-final { scan-assembler "\t.global\t_Z1gPu6__bf16S_" } } */ +/* { dg-final { scan-assembler {\t.globa?l[ \t]_?_Z1gPu6__bf16S_} } } */ void g (__bf16 *x, __bf16 *y) { } -/* { dg-final { scan-assembler "\t.global\t_ZN1SIu6__bf16u6__bf16E1iE" } } */ +/* { dg-final { scan-assembler {\t.globa?l[ \t]_?_ZN1SIu6__bf16u6__bf16E1iE} } } */ template struct S { static int i; }; template <> int S<__bf16, __bf16>::i = 3; -- 2.42.1