https://gcc.gnu.org/bugzilla/show_bug.cgi?id=100302
--- Comment #10 from CVS Commits <cvs-commit at gcc dot gnu.org> --- The releases/gcc-8 branch has been updated by Jakub Jelinek <ja...@gcc.gnu.org>: https://gcc.gnu.org/g:e704ac6615e1e4badeb048ac3a0551f02a94dfc4 commit r8-10947-ge704ac6615e1e4badeb048ac3a0551f02a94dfc4 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)