diff options
author | Jakub Jelinek <jakub@redhat.com> | 2021-04-29 11:34:50 +0200 |
---|---|---|
committer | Jakub Jelinek <jakub@redhat.com> | 2021-04-29 11:34:50 +0200 |
commit | 1bb3e2c0ce6ed363c72caf814a6ba6d7b17c3e0a (patch) | |
tree | 0b869e171ab7fa0aaea622bab40d861aff3fb781 /config.sub | |
parent | 1b462deabf70e0f4bebb1f85118827d9c2eeffb5 (diff) | |
download | gcc-1bb3e2c0ce6ed363c72caf814a6ba6d7b17c3e0a.zip gcc-1bb3e2c0ce6ed363c72caf814a6ba6d7b17c3e0a.tar.gz gcc-1bb3e2c0ce6ed363c72caf814a6ba6d7b17c3e0a.tar.bz2 |
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.
* gcc.target/aarch64/sve/pr100302.c: New test.
Diffstat (limited to 'config.sub')
0 files changed, 0 insertions, 0 deletions