PR middle-end/80422
commit804569465688c6f4c9acdccfb070f39e0105560f
authorlaw <law@138bc75d-0d04-0410-961f-82ee72b054a4>
Tue, 18 Apr 2017 17:31:30 +0000 (18 17:31 +0000)
committerlaw <law@138bc75d-0d04-0410-961f-82ee72b054a4>
Tue, 18 Apr 2017 17:31:30 +0000 (18 17:31 +0000)
tree797765178bd00aac43a514272bbfddb063251d55
parent4ec1a73857bfc8adad5104bb9970209d99be4dc3
PR middle-end/80422
* cfgcleanup.c (try_crossjump_to_edge): Verify SRC1 and SRC2 have
predecessors after walking up the insn chain.

PR middle-end/80422
* gcc.c-torture/compile/pr80422.c: New test.

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