[Bug testsuite/58321] FAIL: gcc.target/i386/memcpy-strategy-3.c scan-assembler-times memcpy 2 on x86_64-apple-darwin*

iains at gcc dot gnu.org gcc-bugzilla@gcc.gnu.org
Fri Sep 6 15:51:00 GMT 2019


https://gcc.gnu.org/bugzilla/show_bug.cgi?id=58321

--- Comment #13 from Iain Sandoe <iains at gcc dot gnu.org> ---
Author: iains
Date: Fri Sep  6 15:51:01 2019
New Revision: 275466

URL: https://gcc.gnu.org/viewcvs?rev=275466&root=gcc&view=rev
Log:
[Darwin, testsuite ] Fix for PR58321.

Darwin doesn't emit a .file directive by default
and one of the scan-asm hits for ELF targets comes from
this directive. Adjust for Darwin and explain.

2019-09-06  Iain Sandoe  <iain@sandoe.co.uk>

        Backport from mainline.
        2019-05-20  Iain Sandoe  <iain@sandoe.co.uk>

        PR testsuite/58321
        * gcc.target/i386/memcpy-strategy-3.c: Adjust count for Darwin and
        add a comment as to the reason for the difference.
        * gcc.target/i386/memset-strategy-1.c: Likewise.


Modified:
    branches/gcc-7-branch/gcc/testsuite/ChangeLog
    branches/gcc-7-branch/gcc/testsuite/gcc.target/i386/memcpy-strategy-3.c
    branches/gcc-7-branch/gcc/testsuite/gcc.target/i386/memset-strategy-1.c


More information about the Gcc-bugs mailing list