https://gcc.gnu.org/bugzilla/show_bug.cgi?id=79780
--- Comment #4 from Jakub Jelinek <jakub at gcc dot gnu.org> --- Author: jakub Date: Thu Mar 2 16:02:37 2017 New Revision: 245843 URL: https://gcc.gnu.org/viewcvs?rev=245843&root=gcc&view=rev Log: PR rtl-optimization/79780 * cprop.c (one_cprop_pass): When second and further conditional trap in a single basic block is turned into an unconditional trap, turn it into a deleted note to avoid RTL verification failures. * gcc.c-torture/compile/pr79780.c: New test. Added: trunk/gcc/testsuite/gcc.c-torture/compile/pr79780.c Modified: trunk/gcc/ChangeLog trunk/gcc/cprop.c trunk/gcc/testsuite/ChangeLog