diff options
Diffstat (limited to 'gcc/simplify-rtx.c')
-rw-r--r-- | gcc/simplify-rtx.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/gcc/simplify-rtx.c b/gcc/simplify-rtx.c index 432842ecf0b..6e174e5575c 100644 --- a/gcc/simplify-rtx.c +++ b/gcc/simplify-rtx.c @@ -298,7 +298,7 @@ delegitimize_mem_from_attrs (rtx x) &mode, &unsignedp, &volatilep, false); if (bitsize != GET_MODE_BITSIZE (mode) || (bitpos % BITS_PER_UNIT) - || (toffset && !host_integerp (toffset, 0))) + || (toffset && !tree_fits_shwi_p (toffset))) decl = NULL; else { |