[Bug target/101129] [11/12 Regression] wrong code at -O1 since r11-5839

cvs-commit at gcc dot gnu.org gcc-bugzilla@gcc.gnu.org
Mon Jul 19 21:16:40 GMT 2021


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

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

https://gcc.gnu.org/g:3e4b43ec9a937866ead88e996bd200b116a1766c

commit r9-9632-g3e4b43ec9a937866ead88e996bd200b116a1766c
Author: Bill Schmidt <wschmidt@linux.ibm.com>
Date:   Mon Jul 19 16:14:36 2021 -0500

    rs6000: Don't let swaps pass break multiply low-part (PR101129)

    Backport from mainline.

    2021-07-15  Bill Schmidt  <wschmidt@linux.ibm.com>

    gcc/
            PR target/101129
            * config/rs6000/rs6000-p8swap.c (has_part_mult): New.
            (rs6000_analyze_swaps): Insns containing a subreg of a mult are
            not swappable.

    gcc/testsuite/
            PR target/101129
            * gcc.target/powerpc/pr101129.c: New.


More information about the Gcc-bugs mailing list