http://gcc.gnu.org/bugzilla/show_bug.cgi?id=58668
--- Comment #12 from Jakub Jelinek <jakub at gcc dot gnu.org> --- Author: jakub Date: Tue Jan 7 16:51:16 2014 New Revision: 206398 URL: http://gcc.gnu.org/viewcvs?rev=206398&root=gcc&view=rev Log: PR rtl-optimization/58668 * cfgcleanup.c (flow_find_cross_jump): Don't count any jumps if dir_p is NULL. Remove p1 variable and make USE/CLOBBER check consistent with other places. (flow_find_head_matching_sequence): Don't count USE or CLOBBER insns. (try_head_merge_bb): Adjust for the flow_find_head_matching_sequence counting change. * ifcvt.c (count_bb_insns): Don't count USE or CLOBBER insns. * gcc.dg/pr58668.c: New test. Added: branches/gcc-4_8-branch/gcc/testsuite/gcc.dg/pr58668.c Modified: branches/gcc-4_8-branch/gcc/ChangeLog branches/gcc-4_8-branch/gcc/cfgcleanup.c branches/gcc-4_8-branch/gcc/ifcvt.c branches/gcc-4_8-branch/gcc/testsuite/ChangeLog