http://gcc.gnu.org/bugzilla/show_bug.cgi?id=43920
--- Comment #10 from vries at gcc dot gnu.org 2011-04-07 08:10:38 UTC --- Author: vries Date: Thu Apr 7 08:10:34 2011 New Revision: 172090 URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=172090 Log: 2011-04-07 Tom de Vries <t...@codesourcery.com> PR target/43920 * cfgcleanup.c (equal_different_set_p, can_replace_by, merge_dir): New function. (old_insns_match_p): Change return type. Replace return false/true with return dir_none/dir_both. Use can_replace_by. (flow_find_cross_jump): Add dir_p parameter. Init replacement direction from dir_p. Register replacement direction in dir, last_dir and afterlast_dir. Handle new return type of old_insns_match_p using merge_dir. Return replacement direction in dir_p. (flow_find_head_matching_sequence, outgoing_edges_match): Handle new return type of old_insns_match_p. (try_crossjump_to_edge): Add argument to call to flow_find_cross_jump. * ifcvt.c ( cond_exec_process_if_block): Add argument to call to flow_find_cross_jump. * basic-block.h (enum replace_direction): New type. (flow_find_cross_jump): Add parameter to declaration. Modified: trunk/gcc/ChangeLog trunk/gcc/basic-block.h trunk/gcc/cfgcleanup.c trunk/gcc/ifcvt.c