Fix PR94185: Do not reuse insn alternative after changing memory subreg.
authorVladimir N. Makarov <vmakarov@redhat.com>
Mon, 16 Mar 2020 20:42:19 +0000 (16:42 -0400)
committerVladimir N. Makarov <vmakarov@redhat.com>
Mon, 16 Mar 2020 20:42:19 +0000 (16:42 -0400)
commitbae7b38cf8a21e068ad5c0bab089dedb78af3346
tree81528af6fab8dc779f1d3565581128149cb27255
parentf522810d2b5edb4008afc4a8d003b7e182aa8ba2
Fix PR94185: Do not reuse insn alternative after changing memory subreg.

2020-03-16  Vladimir Makarov  <vmakarov@redhat.com>

PR target/94185
* lra-spills.c (remove_pseudos): Do not reuse insn alternative
after changing memory subreg.

2020-03-16  Vladimir Makarov  <vmakarov@redhat.com>

PR target/94185
* g++.target/i386/pr94185.C: New test.
gcc/ChangeLog
gcc/lra-spills.c
gcc/testsuite/ChangeLog
gcc/testsuite/g++.target/i386/pr94185.C [new file with mode: 0644]