On 01.10.2019. 21:37, Jeff Law wrote: > On 9/25/19 1:16 AM, Dragan Mladjenovic wrote: >> From: "Dragan Mladjenovic" <dmladjeno...@wavecomp.com> >> >> This fixes the issue by checking that addr's base reg is not part of dest >> multiword reg instead just checking the first reg of dest. >> >> gcc/ChangeLog: >> >> 2019-09-25 Dragan Mladjenovic <dmladjeno...@wavecomp.com> >> >> PR target/91769 >> * config/mips/mips.c (mips_split_move): Use reg_overlap_mentioned_p >> instead of REGNO equality check on addr.reg. >> >> gcc/testsuite/ChangeLog: >> >> 2019-09-25 Dragan Mladjenovic <dmladjeno...@wavecomp.com> >> >> PR target/91769 >> * gcc.target/mips/pr91769.c: New test. > OK. This would seem fine to backport to gcc-9 as well. I don't think > gcc-8 had this code.
Committed on trunk as r276525. Committed on gcc-9-branch as r276570 along with the r273174 as r276569. Best regards, Dragan