Message ID | 566EA5E6.7070704@foss.arm.com |
---|---|
State | New |
Headers | show |
diff --git a/gcc/combine.c b/gcc/combine.c index 9465e5927145e768f1a5fc43ce7c3621033d8aef..8601d8983ce345e2129dd047b3520d98c0582842 100644 --- a/gcc/combine.c +++ b/gcc/combine.c @@ -11037,7 +11037,8 @@ change_zero_ext (rtx *src) if (BITS_BIG_ENDIAN) start = GET_MODE_PRECISION (mode) - size - start; - x = gen_rtx_LSHIFTRT (mode, XEXP (x, 0), GEN_INT (start)); + x = simplify_gen_binary (LSHIFTRT, mode, + XEXP (x, 0), GEN_INT (start)); } else if (GET_CODE (x) == ZERO_EXTEND && GET_CODE (XEXP (x, 0)) == SUBREG