PR rtl-optimization/88470
commit060f0b578e0d6ea6518e7bca6d200a2357976a3c
authorjakub <jakub@138bc75d-0d04-0410-961f-82ee72b054a4>
Thu, 13 Dec 2018 23:33:57 +0000 (13 23:33 +0000)
committerjakub <jakub@138bc75d-0d04-0410-961f-82ee72b054a4>
Thu, 13 Dec 2018 23:33:57 +0000 (13 23:33 +0000)
tree33c7c59992c9696d1428e3caafe762ef59ddb454
parent456b21cccbc3f176d442548cd647de7fc3b07e99
PR rtl-optimization/88470
* cfgcleanup.c (outgoing_edges_match): If the function is
shrink-wrapped and bb1 ends with a JUMP_INSN with a single fake
edge to EXIT, return false.

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

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@267112 138bc75d-0d04-0410-961f-82ee72b054a4
gcc/ChangeLog
gcc/cfgcleanup.c
gcc/testsuite/ChangeLog
gcc/testsuite/gcc.target/i386/pr88470.c [new file with mode: 0644]