Fix some issues with the ROP patch (PR 68471, 68472)
authorBernd Schmidt <bernds@redhat.com>
Thu, 3 Dec 2015 14:17:35 +0000 (14:17 +0000)
committerBernd Schmidt <bernds@gcc.gnu.org>
Thu, 3 Dec 2015 14:17:35 +0000 (14:17 +0000)
commit47e16c6a6aed01dde2774a5490a3e5c7f97e9f92
tree1a704a39609e4dd7faea72ad422cfe306701f3fa
parent9a863523b43ee0ddbfbbb4ce82edc577b6f372de
Fix some issues with the ROP patch (PR 68471, 68472)

PR target/68471
PR target/68472
* config/i386/i386.c (ix86_mitigate_rop): Don't call
compute_bb_for_insn again.  Call df_insn_rescan_all.
* config/i386/i386.md (set_got_rex64): Override modrm_class.

* regrename.c (build_def_use): Ignore stack regs if regstack_completed.

testsuite/
* gcc.target/i386/rop1.c: New test.

From-SVN: r231228
gcc/ChangeLog
gcc/config/i386/i386.c
gcc/config/i386/i386.md
gcc/regrename.c
gcc/testsuite/ChangeLog