https://gcc.gnu.org/bugzilla/show_bug.cgi?id=91769
--- Comment #6 from draganm at gcc dot gnu.org --- Author: draganm Date: Thu Oct 3 19:17:20 2019 New Revision: 276525 URL: https://gcc.gnu.org/viewcvs?rev=276525&root=gcc&view=rev Log: Fix PR target/91769 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-10-03 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-10-03 Dragan Mladjenovic <dmladjeno...@wavecomp.com> PR target/91769 * gcc.target/mips/pr91769.c: New test. Added: trunk/gcc/testsuite/gcc.target/mips/pr91769.c Modified: trunk/gcc/ChangeLog trunk/gcc/config/mips/mips.c trunk/gcc/testsuite/ChangeLog