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

--- Comment #5 from GCC Commits <cvs-commit at gcc dot gnu.org> ---
The master branch has been updated by Jakub Jelinek <ja...@gcc.gnu.org>:

https://gcc.gnu.org/g:84f0b648aeb053b3bd8e1cb6fe282f4da4143708

commit r15-8921-g84f0b648aeb053b3bd8e1cb6fe282f4da4143708
Author: Jakub Jelinek <ja...@redhat.com>
Date:   Wed Mar 26 08:47:20 2025 +0100

    i386: Require in peephole2 that memory is offsettable [PR119450]

    The following testcase ICEs because a peephole2 attempts to offset
    memory which is not offsettable (in particular address is a ZERO_EXTEND
    in this case).

    Because peephole2s don't support constraints, I've added a check for this
    in the peephole2's condition.

    2025-03-26  Jakub Jelinek  <ja...@redhat.com>

            PR target/119450
            * config/i386/i386.md (narrow test peephole2): Test for
            offsettable_memref_p in condition.

            * gcc.target/i386/pr119450.c: New test.

Reply via email to