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

--- Comment #20 from CVS 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:cff7879a381d3f5ed6556206896e6a6229800167

commit r12-5781-gcff7879a381d3f5ed6556206896e6a6229800167
Author: Martin Liska <mli...@suse.cz>
Date:   Fri Dec 3 11:58:25 2021 -0600

    rs6000: Fix up flag_shrink_wrap handling in presence of -mrop-protect
[PR101324]

    PR101324 shows a problem in disabling shrink-wrapping when using
-mrop-protect
    when there is a attribute optimize/pragma.  The fix envolves moving the
handling
    of flag_shrink_wrap so it gets re-disbled when we change or add options.

    2021-12-03  Martin Liska  <mli...@suse.cz>

    gcc/
            PR target/101324
            * config/rs6000/rs6000.c (rs6000_option_override_internal): Move
the
            disabling of shrink-wrapping when using -mrop-protect from here...
            (rs6000_override_options_after_change): ...to here.

    2021-12-03  Peter Bergner  <berg...@linux.ibm.com>

    gcc/testsuite/
            PR target/101324
            * gcc.target/powerpc/pr101324.c: New test.

Reply via email to