diff --git a/gcc/ChangeLog b/gcc/ChangeLog index c5f749e5195..280e29a8529 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,6 +1,6 @@ 2012-10-29 Uros Bizjak - * config/i386/i386.c (ix86_decompose_address): Use simplify_subreg + * config/i386/i386.c (ix86_decompose_address): Use simplify_gen_subreg to check SImode equivalent of address, zero-extended with AND RTX. * config/i386/i386.md (ashift to lea splitter): Split to SImode mult. (simple lea to add/shift peephole2s): Remove peephole2s that operate diff --git a/gcc/config/i386/i386.c b/gcc/config/i386/i386.c index f766cf0c29d..2931e62bed9 100644 --- a/gcc/config/i386/i386.c +++ b/gcc/config/i386/i386.c @@ -11822,7 +11822,7 @@ ix86_decompose_address (rtx addr, struct ix86_address *out) } else if (GET_MODE (addr) == DImode) { - addr = simplify_subreg (SImode, addr, DImode, 0); + addr = simplify_gen_subreg (SImode, addr, DImode, 0); if (addr == NULL_RTX) return 0; }