[PATCH] PR middle-end/11414: Clean-up loop.c's load_mems.

Zack Weinberg zack@codesourcery.com
Thu Oct 23 17:51:00 GMT 2003


Roger Sayle <roger@eyesopen.com> writes:

> 	PR middle-end/11414
> 	* loop.c (load_mems): Use redirect_jump to forward jumps from
> 	the original loop end label to the new "loop sink" block's
> 	label.

This is OK.

Could you also look at the uses of replace_label in cfgcleanup.c
(outgoing_edges_match and try_crossjump_to_edge) -- with this patch,
those are the last places this function is used.  I am not sure
whether it can be eliminated there, but it would be nice.

zw



More information about the Gcc-patches mailing list