re PR target/69015 (ICE: RTL check: expected code 'code_label', have 'return' in...
authorJakub Jelinek <jakub@redhat.com>
Thu, 31 Dec 2015 23:51:50 +0000 (00:51 +0100)
committerJakub Jelinek <jakub@gcc.gnu.org>
Thu, 31 Dec 2015 23:51:50 +0000 (00:51 +0100)
commitf1e0620c75721bdec94af311943025ee8474a57e
treefbb674f6e693c4b20bd4f7663502633d94a3c156
parent2f883d1c18b671db5458250ab381ab091579d6d0
re PR target/69015 (ICE: RTL check: expected code 'code_label', have 'return' in find_cond_trap, at ifcvt.c:3715 with -fno-if-conversion and __builtin_trap())

PR target/69015
* ifcvt.c (find_cond_trap): Give up if returnjump_p (jump).

* gcc.dg/pr69015.c: New test.

From-SVN: r232020
gcc/ChangeLog
gcc/ifcvt.c
gcc/testsuite/ChangeLog
gcc/testsuite/gcc.dg/pr69015.c [new file with mode: 0644]