diff options
Diffstat (limited to 'gcc/expmed.c')
-rw-r--r-- | gcc/expmed.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/gcc/expmed.c b/gcc/expmed.c index ca48c606..c61a8db 100644 --- a/gcc/expmed.c +++ b/gcc/expmed.c @@ -569,7 +569,7 @@ simple_mem_bitfield_p (rtx op0, unsigned HOST_WIDE_INT bitsize, return (MEM_P (op0) && bitnum % BITS_PER_UNIT == 0 && bitsize == GET_MODE_BITSIZE (mode) - && (!SLOW_UNALIGNED_ACCESS (mode, MEM_ALIGN (op0)) + && (!targetm.slow_unaligned_access (mode, MEM_ALIGN (op0)) || (bitnum % GET_MODE_ALIGNMENT (mode) == 0 && MEM_ALIGN (op0) >= GET_MODE_ALIGNMENT (mode)))); } |