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

--- Comment #20 from GCC Commits <cvs-commit at gcc dot gnu.org> ---
The master branch has been updated by Peter Bergner <berg...@gcc.gnu.org>:

https://gcc.gnu.org/g:0451bc503da9c858e9f1ddfb8faec367c2e032c8

commit r15-2896-g0451bc503da9c858e9f1ddfb8faec367c2e032c8
Author: Peter Bergner <berg...@linux.ibm.com>
Date:   Tue Jun 18 17:42:45 2024 -0500

    rs6000: ROP - Do not disable shrink-wrapping for leaf functions [PR114759]

    Only disable shrink-wrapping when using -mrop-protect when we know we
    will be emitting the ROP-protect hash instructions (ie, non-leaf
functions).

    2024-06-17  Peter Bergner  <berg...@linux.ibm.com>

    gcc/
            PR target/114759
            * config/rs6000/rs6000.cc (rs6000_override_options_after_change):
Move
            the disabling of shrink-wrapping from here....
            * config/rs6000/rs6000-logue.cc (rs6000_emit_prologue): ...to here.

    gcc/testsuite/
            PR target/114759
            * gcc.target/powerpc/pr114759-1.c: New test.

Reply via email to