[Bug target/101469] wrong code with "-O2 -fPIE" for SH

cvs-commit at gcc dot gnu.org gcc-bugzilla@gcc.gnu.org
Fri Jul 14 01:45:30 GMT 2023


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

--- Comment #12 from CVS Commits <cvs-commit at gcc dot gnu.org> ---
The releases/gcc-11 branch has been updated by Oleg Endo
<olegendo@gcc.gnu.org>:

https://gcc.gnu.org/g:75b8353e4b61566f7e8ac627204e2bcd6bfe60a6

commit r11-10909-g75b8353e4b61566f7e8ac627204e2bcd6bfe60a6
Author: Oleg Endo <olegendo@gcc.gnu.org>
Date:   Fri Jul 14 09:54:20 2023 +0900

    SH: Fix PR101469 peephole bug

    gcc/ChangeLog:

            PR target/101469
            * config/sh/sh.md (peephole2): Handle case where eliminated reg
            is also used by the address of the following memory operand.


More information about the Gcc-bugs mailing list