https://gcc.gnu.org/g:171aef2974d25c427720a07b1a619ed4a664ce13
commit r15-5994-g171aef2974d25c427720a07b1a619ed4a664ce13 Author: Uros Bizjak <ubiz...@gmail.com> Date: Fri Dec 6 19:21:53 2024 +0100 i386: Add missing part from my previous commit. gcc/ChangeLog: * config/i386/i386.cc (ix86_decompose_address): Add missing part from my previous commit. Diff: --- gcc/config/i386/i386.cc | 3 +++ 1 file changed, 3 insertions(+) diff --git a/gcc/config/i386/i386.cc b/gcc/config/i386/i386.cc index 0cdc2838bbcf..62f758b32ef5 100644 --- a/gcc/config/i386/i386.cc +++ b/gcc/config/i386/i386.cc @@ -10825,6 +10825,9 @@ ix86_decompose_address (rtx addr, struct ix86_address *out) addr = lowpart_subreg (SImode, XEXP (addr, 0), DImode); if (addr == NULL_RTX) return false; + + if (CONST_INT_P (addr)) + return false; } } }