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

--- Comment #11 from Segher Boessenkool <segher at gcc dot gnu.org> ---
Author: segher
Date: Fri Jan 26 21:31:37 2018
New Revision: 257110

URL: https://gcc.gnu.org/viewcvs?rev=257110&root=gcc&view=rev
Log:
rs6000: Fix safe-indirect-jump-[18].c

Thist patch merges the safe-indirect-jump-1.c and -8.c testcases,
since they do the same thing.  On the 64-bit and AIX ABIs the indirect
call is not a sibcall, since there is code generated after the call
(the restore of r2).  On the 32-bit non-AIX ABIs it is a sibcall.


        Backport from trunk
        2018-01-26  Segher Boessenkool  <seg...@kernel.crashing.org>

        * gcc.target/powerpc/safe-indirect-jump-1.c: Build on all targets.
        Make expected output depend on whether we expect sibcalls or not.
        * gcc.target/powerpc/safe-indirect-jump-8.c: Delete (merged into
        safe-indirect-jump-1.c).

        Backport from trunk
        2018-01-21  Bill Schmidt  <wschm...@linux.vnet.ibm.com>

        PR target/83946
        * gcc.target/powerpc/safe-indirect-jump-8.c: Skip for AIX.

Removed:
   
branches/gcc-7-branch/gcc/testsuite/gcc.target/powerpc/safe-indirect-jump-8.c
Modified:
    branches/gcc-7-branch/gcc/testsuite/ChangeLog
   
branches/gcc-7-branch/gcc/testsuite/gcc.target/powerpc/safe-indirect-jump-1.c

Reply via email to