This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
[PATCH][OBVIOUS] Fix a scan in test for Darwin target (PR testsuite/87216).
- From: Martin Liška <mliska at suse dot cz>
- To: gcc-patches at gcc dot gnu dot org
- Cc: Rainer Orth <ro at CeBiTec dot Uni-Bielefeld dot DE>
- Date: Wed, 5 Sep 2018 11:06:41 +0200
- Subject: [PATCH][OBVIOUS] Fix a scan in test for Darwin target (PR testsuite/87216).
Hi.
I would like to update a test-case, tested on x86_64-linux-gnu and
on Darwin by Rainer.
I'm going to install that.
Martin
gcc/testsuite/ChangeLog:
2018-09-05 Martin Liska <mliska@suse.cz>
PR testsuite/87216
* gcc.dg/tree-prof/pr59521-3.c: Update scanned pattern
to support Dawring names.
---
gcc/testsuite/gcc.dg/tree-prof/pr59521-3.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/gcc/testsuite/gcc.dg/tree-prof/pr59521-3.c b/gcc/testsuite/gcc.dg/tree-prof/pr59521-3.c
index 497643bed3d..00232176695 100644
--- a/gcc/testsuite/gcc.dg/tree-prof/pr59521-3.c
+++ b/gcc/testsuite/gcc.dg/tree-prof/pr59521-3.c
@@ -31,4 +31,4 @@ int main()
}
}
-/* { dg-final-use-not-autofdo { scan-assembler "\nfoo:\n.*cmp.*1,.*cmp.*10,.*cmp.*100" { target i?86-*-* x86_64-*-* } } } */
+/* { dg-final-use-not-autofdo { scan-assembler "\n_?foo:\n.*cmp.*1,.*cmp.*10,.*cmp.*100" { target i?86-*-* x86_64-*-* } } } */