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

--- Comment #6 from GCC Commits <cvs-commit at gcc dot gnu.org> ---
The master branch has been updated by Jakub Jelinek <[email protected]>:

https://gcc.gnu.org/g:9d60af6d3e3bcaf37f44312569e15163af2ec598

commit r17-329-g9d60af6d3e3bcaf37f44312569e15163af2ec598
Author: Jakub Jelinek <[email protected]>
Date:   Tue May 5 10:44:25 2026 +0200

    i386: Avoid splitting 16/32-bit volatile mem test into 8-bit test
[PR125180]

    With -ffuse-ops-with-volatile-access which is now even on by default
    thie splitter can split a 16 or 32-bit volatile memory test into
    an 8-bit volatile memory test, which is undesirable and e.g. when
    it refers to some memory mapped hw registers it could misbehave.

    2026-05-05  Jakub Jelinek  <[email protected]>

            PR target/125180
            * config/i386/i386.md (HI/SI test -> QI test splitter): Punt if
            operands[2] is a volatile MEM.

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

    Reviewed-by: Uros Bizjak <[email protected]>

Reply via email to