https://gcc.gnu.org/bugzilla/show_bug.cgi?id=87216
Bug ID: 87216 Summary: FAIL: gcc.dg/tree-prof/pr59521-3.c scan-assembler \\nfoo:\\n.*cmp.*1,.*cmp.*10,.*cmp.*100 on darwin Product: gcc Version: 9.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: testsuite Assignee: unassigned at gcc dot gnu.org Reporter: dominiq at lps dot ens.fr CC: iains at gcc dot gnu.org, marxin at gcc dot gnu.org Target Milestone: --- The test gcc.dg/tree-prof/pr59521-3.c fails on darwin. This is "fixed" with the following patch: --- ../_clean/gcc/testsuite/gcc.dg/tree-prof/pr59521-3.c 2018-09-03 10:54:47.000000000 +0200 +++ gcc/testsuite/gcc.dg/tree-prof/pr59521-3.c 2018-09-04 17:25:45.000000000 +0200 @@ -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-*-* } } } */ [