diff options
author | Jakub Jelinek <jakub@redhat.com> | 2020-03-13 11:33:16 +0100 |
---|---|---|
committer | Jakub Jelinek <jakub@redhat.com> | 2020-03-13 11:33:16 +0100 |
commit | 7aa605c9d4643dc6e0a0460e5697c02457cd7278 (patch) | |
tree | 16882cf3765fa4a87b7ac652fb84afd03e80c67a /gcc/tree-ssa-pre.c | |
parent | fd8679974b2ded884ffd7d912efef7fe13e4ff4f (diff) | |
download | gcc-7aa605c9d4643dc6e0a0460e5697c02457cd7278.zip gcc-7aa605c9d4643dc6e0a0460e5697c02457cd7278.tar.gz gcc-7aa605c9d4643dc6e0a0460e5697c02457cd7278.tar.bz2 |
aarch64: Fix another bug in aarch64_add_offset_1 [PR94121]
> I'm getting this ICE with -mabi=ilp32:
>
> during RTL pass: fwprop1
> /opt/gcc/gcc-20200312/gcc/testsuite/gcc.dg/pr94121.c: In function 'bar':
> /opt/gcc/gcc-20200312/gcc/testsuite/gcc.dg/pr94121.c:16:1: internal compiler error: in decompose, at rtl.h:2279
That is a preexisting issue, caused by another bug in the same function.
When mode is SImode and moffset is 0x80000000 (or anything else with the
bit 31 set), we need to sign-extend it.
2020-03-13 Jakub Jelinek <jakub@redhat.com>
PR target/94121
* config/aarch64/aarch64.c (aarch64_add_offset_1): Use gen_int_mode
instead of GEN_INT.
Diffstat (limited to 'gcc/tree-ssa-pre.c')
0 files changed, 0 insertions, 0 deletions