This is the mail archive of the
gcc-cvs@gcc.gnu.org
mailing list for the GCC project.
r249741 - in /trunk/gcc: ChangeLog config/aarch...
- From: wilco at gcc dot gnu dot org
- To: gcc-cvs at gcc dot gnu dot org
- Date: Wed, 28 Jun 2017 14:21:04 -0000
- Subject: r249741 - in /trunk/gcc: ChangeLog config/aarch...
Author: wilco
Date: Wed Jun 28 14:21:04 2017
New Revision: 249741
URL: https://gcc.gnu.org/viewcvs?rev=249741&root=gcc&view=rev
Log:
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.
Modified:
trunk/gcc/ChangeLog
trunk/gcc/config/aarch64/aarch64.c