On 12/8/23 19:25, Alexandre Oliva wrote:
On aarch64 -milp32, and presumably on other such targets, ptr can be
in a different mode than ptr_mode in the testcase. Cope with it.
Regstrapped on x86_64-linux-gnu, also tested the new test on
aarch64-elf. Ok to install?
for gcc/ChangeLog
PR target/112804
* builtins.cc (try_store_by_multiple_pieces): Use ptr's mode
for the increment.
for gcc/testsuite/ChangeLog
PR target/112804
* gcc.target/aarch64/inline-mem-set-pr112804.c: New.
Hmmm. I'd like a little more information here I wouldn't expect those
modes to differ even for ILP32 on a 64bit target. Are we just papering
over a problem elsewhere?
Jeff