From 3bc2ee6886f1619bc6a2257a0775142526b1a57a Mon Sep 17 00:00:00 2001 From: jcmvbkbc Date: Mon, 11 Sep 2017 21:53:38 +0000 Subject: [PATCH] xtensa: fix PR target/82181 2017-09-11 Max Filippov gcc/ Backport from mainline * config/xtensa/xtensa.c (xtensa_mem_offset): Check that both words of DImode object are reachable by xtensa_uimm8x4 access. Signed-off-by: Max Filippov --- gcc/config/xtensa/xtensa.c | 1 + 1 file changed, 1 insertion(+) --- a/gcc/config/xtensa/xtensa.c +++ b/gcc/config/xtensa/xtensa.c @@ -601,6 +601,7 @@ case HImode: return xtensa_uimm8x2 (v); + case DImode: case DFmode: return (xtensa_uimm8x4 (v) && xtensa_uimm8x4 (v + 4));