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

--- Comment #10 from Iain Sandoe <iains at gcc dot gnu.org> ---
Author: iains
Date: Fri Sep 20 18:29:16 2019
New Revision: 276003

URL: https://gcc.gnu.org/viewcvs?rev=276003&root=gcc&view=rev
Log:
[Darwin, X86, testsuite] Fix PR81058.

The tests fail because Darwin indirects common accesses which causes different
codegen and the mismatch in output. Placing the vars in regular .data section
fixes that.

gcc/testsuite/

2019-09-20  Iain Sandoe  <i...@sandoe.co.uk>

        Backport from mainline.
        2019-05-11  Iain Sandoe  <i...@sandoe.co.uk>

        PR testsuite/81058
        * gcc.target/i386/avx512bw-vpmovswb-1.c: Use regular data section
        for variables on Darwin, rather than common.
        * gcc.target/i386/avx512bw-vpmovuswb-1.c: Likewise.
        * gcc.target/i386/avx512bw-vpmovwb-1.c: Likewise.


Modified:
    branches/gcc-8-branch/gcc/testsuite/ChangeLog
    branches/gcc-8-branch/gcc/testsuite/gcc.target/i386/avx512bw-vpmovswb-1.c
    branches/gcc-8-branch/gcc/testsuite/gcc.target/i386/avx512bw-vpmovuswb-1.c
    branches/gcc-8-branch/gcc/testsuite/gcc.target/i386/avx512bw-vpmovwb-1.c

Reply via email to