re PR target/81644 (ICE in rtl_verify_bb_insn, BBRO pass duplicates BB that ends...
authorUros Bizjak <ubizjak@gmail.com>
Wed, 2 Aug 2017 13:58:08 +0000 (15:58 +0200)
committerUros Bizjak <uros@gcc.gnu.org>
Wed, 2 Aug 2017 13:58:08 +0000 (15:58 +0200)
commitf46294817200cf2f07112eb8b53b814b1ed936b7
tree7acd3b25423919e4feb69cff2187582500f15b99
parent5e9fab92d115add42280d51dc9c674aa7a5569a0
re PR target/81644 (ICE in rtl_verify_bb_insn, BBRO pass duplicates BB that ends with flow control insn)

PR target/81644
* config/i386/i386.md (unspecv): Add UNSPECV_UD2.
(ud2): New insn pattern.
* config/i386/i386.c (ix86_expand_epilogue):
Generate ud2 instead of trap insn.

testsuite/ChangeLog:

PR target/81644
* gcc.target/i386/pr81644.c: New test.

From-SVN: r250830
gcc/ChangeLog
gcc/config/i386/i386.c
gcc/config/i386/i386.md
gcc/testsuite/ChangeLog
gcc/testsuite/gcc.target/i386/pr81644.c [new file with mode: 0644]