[Bug target/96787] rs6000 mcpu=power10 miscompiles libiberty htab_delete() causing bootstrap failure

cvs-commit at gcc dot gnu.org gcc-bugzilla@gcc.gnu.org
Thu Aug 27 16:18:54 GMT 2020


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

--- Comment #9 from CVS Commits <cvs-commit at gcc dot gnu.org> ---
The master branch has been updated by William Schmidt <wschmidt@gcc.gnu.org>:

https://gcc.gnu.org/g:abca87c57847cd04f5e05935ff9ae5121c1ecb1d

commit r11-2908-gabca87c57847cd04f5e05935ff9ae5121c1ecb1d
Author: Bill Schmidt <wschmidt@linux.ibm.com>
Date:   Thu Aug 27 11:17:06 2020 -0500

    rs6000: Support ELFv2 sibcall for indirect calls [PR96787]

    Prior to P10, ELFv2 hasn't implemented nonlocal sibcalls.  Now that we do,
    we need to be sure that r12 is set up prior to such a call.

    2020-08-27  Bill Schmidt  <wschmidt@linux.ibm.com>

    gcc/
            PR target/96787
            * config/rs6000/rs6000.c (rs6000_sibcall_aix): Support
            indirect call for ELFv2.

    gcc/testsuite/

            PR target/96787
            * gcc.target/powerpc/pr96787-1.c: New.
            * gcc.target/powerpc/pr96787-2.c: New.


More information about the Gcc-bugs mailing list