This test fails on Darwin because it requires alias support. Fixed by adding the necessary g-require.
tested on x86_64-darwin16 and x86_64-linux-gnu (--target_board=unix\{-m32,-m64\}\{,-fpic\}) aplied to mainline, thanks Iain gcc/testsuite/ 2019-05-25 Iain Sandoe <i...@sandoe.co.uk> * gcc.target/i386/pr82659-3.c: Require alias support. Index: gcc/testsuite/gcc.target/i386/pr82659-3.c =================================================================== --- gcc/testsuite/gcc.target/i386/pr82659-3.c (revision 271620) +++ gcc/testsuite/gcc.target/i386/pr82659-3.c (working copy) @@ -1,4 +1,5 @@ /* { dg-do compile } */ +/* { dg-require-alias "" } */ /* { dg-options "-O2 -fcf-protection" } */ /* { dg-final { scan-assembler-times {\mendbr} 2 } } */