Fix a scan in test for Darwin target (PR testsuite/87216).
authorMartin Liska <mliska@suse.cz>
Wed, 5 Sep 2018 09:08:07 +0000 (11:08 +0200)
committerMartin Liska <marxin@gcc.gnu.org>
Wed, 5 Sep 2018 09:08:07 +0000 (09:08 +0000)
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.

From-SVN: r264113

gcc/testsuite/ChangeLog
gcc/testsuite/gcc.dg/tree-prof/pr59521-3.c

index b4ee152..f34dbcc 100644 (file)
@@ -1,5 +1,11 @@
 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.
+
+2018-09-05  Martin Liska  <mliska@suse.cz>
+
        * g++.dg/gcov/loop.C: Update test to support new format.
 
 2018-09-04  H.J. Lu  <hongjiu.lu@intel.com>
index 497643b..0023217 100644 (file)
@@ -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-*-* } } } */