Re: RISC-V: fix a typo in riscv.h

2020-09-14 Thread Yeting Kuo via Gcc-patches
Hi Kito, > > Could you provide a test case for that? > I add the test case and update the git message. RISC-V: fix a typo in riscv.h The missing parentheses would make shorten-memrefs pass give a wrong base when the offset of load/store is not multiple of 4. 2020-09-14 Yeting Kuo

RISC-V: fix a typo in riscv.h

2020-09-14 Thread Yeting Kuo via Gcc-patches
Hi all, The patch fixes a typo that would make some errors in fast-unaligned-access targets. RISC-V: fix a typo in riscv.h 2020-09-14 Yeting Kuo gcc/ * config/riscv/riscv.h diff --git a/gcc/config/riscv/riscv.h b/gcc/config/riscv/riscv.h index 9f67d82e74e..b7b4a1c88a5