re PR target/83554 (ICE: in ix86_mitigate_rop, at config/i386/i386.c:41274 with ...
authorJakub Jelinek <jakub@redhat.com>
Thu, 4 Jan 2018 21:54:23 +0000 (22:54 +0100)
committerJakub Jelinek <jakub@gcc.gnu.org>
Thu, 4 Jan 2018 21:54:23 +0000 (22:54 +0100)
commitac2be67b328e79b3be27b0559de62f054f8bf4c7
tree7588e3ffc637765e1a3f1a7c01b71e422c5da9c8
parent91a00d11a32d7590285395534a2315ad65a6402f
re PR target/83554 (ICE: in ix86_mitigate_rop, at config/i386/i386.c:41274 with -mmitigate-rop)

PR target/83554
* config/i386/i386.md (*<rotate_insn>hi3_1 splitter): Use
QIreg_operand instead of register_operand predicate.
* config/i386/i386.c (ix86_rop_should_change_byte_p,
set_rop_modrm_reg_bits, ix86_mitigate_rop): Use -mmitigate-rop in
comments instead of -fmitigate[-_]rop.

* gcc.target/i386/pr83554.c: New test.

Co-Authored-By: Uros Bizjak <ubizjak@gmail.com>
From-SVN: r256268
gcc/ChangeLog
gcc/config/i386/i386.c
gcc/config/i386/i386.md
gcc/testsuite/ChangeLog
gcc/testsuite/gcc.target/i386/pr83554.c [new file with mode: 0644]