The tests fail as noted in the PR, because Darwin’s ABI mandates indirection for common accesses, which means that the codegen doesn’t match what the tests expect.
In this case, we can fix this simply by placing the relevant vars in the regular data section (by appending -fno-common to the test flags). Applied to trunk, will backport in due course. thanks. Iain gcc/testsuite/ 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.
pr81058-trunk.diff
Description: Binary data