[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
Thu Feb 11 09:13:00 GMT 2016
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=69015
--- Comment #7 from Jakub Jelinek <jakub at gcc dot gnu.org> ---
Author: jakub
Date: Thu Feb 11 09:12:52 2016
New Revision: 233325
URL: https://gcc.gnu.org/viewcvs?rev=233325&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-4_9-branch/gcc/testsuite/gcc.dg/pr69015.c
Modified:
branches/gcc-4_9-branch/gcc/ChangeLog
branches/gcc-4_9-branch/gcc/ifcvt.c
branches/gcc-4_9-branch/gcc/testsuite/ChangeLog
More information about the Gcc-bugs
mailing list