]> gcc.gnu.org Git - gcc.git/commit
aarch64: Fix ICE in aarch64_add_offset_1_temporaries [PR100302]
authorJakub Jelinek <jakub@redhat.com>
Thu, 29 Apr 2021 09:34:50 +0000 (11:34 +0200)
committerJakub Jelinek <jakub@redhat.com>
Tue, 4 May 2021 12:06:22 +0000 (14:06 +0200)
commit42ba897862fbdc0d6b27fae95a10fcc1a6436b1d
treecdaa39b288185c0ba44d5152902d27b4fd40d09e
parent5a79a9043c2c8e07ab3165437a93d54cbbc9890d
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  <jakub@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)
gcc/config/aarch64/aarch64.c
This page took 0.053865 seconds and 5 git commands to generate.