Hi, Segher discovered that one of the new safe-indirect-jump tests fails on AIX because of a difference between AIX_V4 and AIX_ABI for 32-bit code. The former generates sibcalls for nonlocal function calls, but the latter does not. Thus this test should be skipped for AIX.
Okay for trunk and possible backport to 7 after a quick AIX sniff test? Thanks, Bill 2018-01-21 Bill Schmidt <wschm...@linux.vnet.ibm.com> PR target/83946 * gcc.target/powerpc/safe-indirect-jump-8.c: Skip for AIX. Index: gcc/testsuite/gcc.target/powerpc/safe-indirect-jump-8.c =================================================================== --- gcc/testsuite/gcc.target/powerpc/safe-indirect-jump-8.c (revision 256931) +++ gcc/testsuite/gcc.target/powerpc/safe-indirect-jump-8.c (working copy) @@ -1,4 +1,5 @@ /* { dg-do compile { target { ilp32 } } } */ +/* { dg-skip-if "" { powerpc*-*-aix* } } */ /* { dg-additional-options "-O2 -mno-speculate-indirect-jumps" } */ /* Test for deliberate misprediction of -m32 sibcalls. */