r206385 - in /trunk/gcc: ChangeLog cfgcleanup.c...
jakub@gcc.gnu.org
jakub@gcc.gnu.org
Tue Jan 7 07:54:00 GMT 2014
Author: jakub
Date: Tue Jan 7 07:54:47 2014
New Revision: 206385
URL: http://gcc.gnu.org/viewcvs?rev=206385&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, use active_insn_p
to determine what is counted.
(flow_find_head_matching_sequence): Use active_insn_p to determine
what is counted.
(try_head_merge_bb): Adjust for the flow_find_head_matching_sequence
counting change.
* ifcvt.c (count_bb_insns): Use active_insn_p && !JUMP_P to
determine what is counted.
* gcc.dg/pr58668.c: New test.
Added:
trunk/gcc/testsuite/gcc.dg/pr58668.c
Modified:
trunk/gcc/ChangeLog
trunk/gcc/cfgcleanup.c
trunk/gcc/ifcvt.c
trunk/gcc/testsuite/ChangeLog
More information about the Gcc-cvs
mailing list