https://gcc.gnu.org/bugzilla/show_bug.cgi?id=66688
--- Comment #9 from Jakub Jelinek <jakub at gcc dot gnu.org> --- Author: jakub Date: Tue Dec 15 07:46:23 2015 New Revision: 231644 URL: https://gcc.gnu.org/viewcvs?rev=231644&root=gcc&view=rev Log: PR tree-optimization/66688 * tree-cfgcleanup.c (cleanup_control_flow_bb): Handle noreturn call followed only by debug stmts by removing the debug stmts and handling it the same as if the noreturn call is the last stmt. * gcc.dg/pr66688.c: New test. Added: trunk/gcc/testsuite/gcc.dg/pr66688.c Modified: trunk/gcc/ChangeLog trunk/gcc/testsuite/ChangeLog trunk/gcc/tree-cfgcleanup.c