On 9/14/20 5:06 AM, Yeting Kuo via Gcc-patches wrote: > 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 > > gcc/ChangeLog: > * config/riscv/riscv.h > > gcc/testsuite/ChangeLog: > * gcc.target/riscv/shorten-memrefs-8.c: New test. Thanks.  I made a minor fix in the ChangeLog entry and pushed this to the trunk. jeff