https://gcc.gnu.org/bugzilla/show_bug.cgi?id=100302
--- Comment #8 from CVS Commits <cvs-commit at gcc dot gnu.org> --- The releases/gcc-10 branch has been updated by Jakub Jelinek <ja...@gcc.gnu.org>: https://gcc.gnu.org/g:42ba897862fbdc0d6b27fae95a10fcc1a6436b1d commit r10-9794-g42ba897862fbdc0d6b27fae95a10fcc1a6436b1d Author: Jakub Jelinek <ja...@redhat.com> Date: Thu Apr 29 11:34:50 2021 +0200 aarch64: Fix ICE in aarch64_add_offset_1_temporaries [PR100302] In PR94121 I've changed aarch64_add_offset_1 to use absu_hwi instead of abs_hwi because offset can be HOST_WIDE_INT_MIN. As can be seen with the testcase below, aarch64_add_offset_1_temporaries suffers from the same problem and should be in sync with aarch64_add_offset_1, i.e. for HOST_WIDE_INT_MIN it needs a temporary. 2021-04-29 Jakub Jelinek <ja...@redhat.com> PR target/100302 * config/aarch64/aarch64.c (aarch64_add_offset_1_temporaries): Use absu_hwi instead of abs_hwi. (cherry picked from commit 1bb3e2c0ce6ed363c72caf814a6ba6d7b17c3e0a)