diff options
author | Wilco Dijkstra <wdijkstr@arm.com> | 2017-06-28 14:21:04 +0000 |
---|---|---|
committer | Wilco Dijkstra <wilco@gcc.gnu.org> | 2017-06-28 14:21:04 +0000 |
commit | 00eee3fa2a884e3ab0bcbf6de3a94d4da2b34d4c (patch) | |
tree | 1a726e130fb2f4988169293c6da71dc094da315a /gcc/fold-const.c | |
parent | 55994b971b02a3808f3776ce66e890ecc1c7b759 (diff) | |
download | gcc-00eee3fa2a884e3ab0bcbf6de3a94d4da2b34d4c.zip gcc-00eee3fa2a884e3ab0bcbf6de3a94d4da2b34d4c.tar.gz gcc-00eee3fa2a884e3ab0bcbf6de3a94d4da2b34d4c.tar.bz2 |
This patch fixes a failure in gcc.target/aarch64/reload-valid-spoff.c triggered...
This patch fixes a failure in gcc.target/aarch64/reload-valid-spoff.c
triggered by https://gcc.gnu.org/ml/gcc-patches/2017-06/msg01367.html.
In ILP32 all memory accesses must have Pmode as the base address, but
aarch64_expand_mov_immediate wasn't emitting a conversion in one case.
Besides fixing this add an assert that flags any MEM operands that are
not Pmode.
gcc/
* config/aarch64/aarch64 (aarch64_expand_mov_immediate):
Convert memory address to Pmode.
(aarch64_print_operand): Assert MEM operands are always Pmode.
From-SVN: r249741
Diffstat (limited to 'gcc/fold-const.c')
0 files changed, 0 insertions, 0 deletions