On 12/9/2021 3:18 PM, Alexandre Oliva via Gcc-patches wrote:
The conversion of a MEM address to ptr_mode in
try_store_by_multiple_pieces was misguided: copy_addr_to_reg expects
Pmode for addresses.

Regstrapped on x86_64-linux-gnu, testcase verified with a cross to
aarch64.  Ok to install?


for  gcc/ChangeLog

        PR target/100518
        * builtins.c (try_store_by_multiple_pieces): Drop address
        conversion to ptr_mode.

for  gcc/testsuite/ChangeLog

        PR target/100518
        * gcc.target/aarch64/pr100518.c: New.
OK
jeff

Reply via email to