This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [PATCH] Fix bootstrap (PR rtl-opt/29879)


On Sun, 19 Nov 2006, Andrew Pinski wrote:
>
> 	* fwprop.c (loops): Remove.
> 	(forward_propagate_into): Use current_loops instead of
> 	loops.
> 	(fwprop_init): Call loop_optimizer_init instead of
> 	flow_loops_find.
> 	(fwprop_done): Call loop_optimizer_finalize instead of
> 	flow_loops_free.
> 	(fwprop): Use current_loops instead of loops.

This is OK for mainline, with the minor modification recommended by
Zdenek, that it need not test current_loops->num anywhere.

Many thanks to Andrew for fixing the bootstrap failure, and to both
Zdenek and Paolo for confirming that the fix is correct.

Now the task of figuring out why this wasn't caught in testing prior
to being committed.  Presumably an incompatible change to loop handling
has collided with fwprop during stage 1?

Roger
--


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]