[PATCH] fix pr30907, worse code produced when an address is forward propagated

Ian Lance Taylor iant@google.com
Sat Mar 17 01:07:00 GMT 2007


Paolo Bonzini <paolo.bonzini@lu.unisi.ch> writes:

> 2007-02-22  Paolo Bonzini  <bonzini@gnu.org>
> 
> 	PR rtl-optimization/30907
> 	* fwprop.c (forward_propagate_into): Never propagate inside a loop.
> 	(fwprop_init): Always call loop_optimizer_initialize.
> 	(fwprop_done): Always call loop_optimizer_finalize.
> 	(fwprop): We always have loop info now.
> 	(gate_fwprop_addr): Remove.
> 	(pass_fwprop_addr): Use gate_fwprop as gate.

This is OK.

Thanks.

Ian



More information about the Gcc-patches mailing list