[Bug 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()
jakub at gcc dot gnu.org
gcc-bugzilla@gcc.gnu.org
Wed Feb 10 18:26:00 GMT 2016
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=69015
--- Comment #5 from Jakub Jelinek <jakub at gcc dot gnu.org> ---
Author: jakub
Date: Wed Feb 10 18:26:21 2016
New Revision: 233286
URL: https://gcc.gnu.org/viewcvs?rev=233286&root=gcc&view=rev
Log:
Backported from mainline
2016-01-01 Jakub Jelinek <jakub@redhat.com>
PR target/69015
* ifcvt.c (find_cond_trap): Give up if returnjump_p (jump).
* gcc.dg/pr69015.c: New test.
Added:
branches/gcc-5-branch/gcc/testsuite/gcc.dg/pr69015.c
Modified:
branches/gcc-5-branch/gcc/ChangeLog
branches/gcc-5-branch/gcc/ifcvt.c
branches/gcc-5-branch/gcc/testsuite/ChangeLog
More information about the Gcc-bugs
mailing list