[PATCH] Fix PRs 19431 and 21463 (if conversion with loads)
Richard Guenther
rguenther@suse.de
Wed Apr 18 11:56:00 GMT 2007
On Tue, 17 Apr 2007, Diego Novillo wrote:
> Richard Guenther wrote on 02/15/07 05:14:
>
> > PR tree-optimization/19431
> > PR tree-optimization/21463
> > * tree-pass.h (pass_phiprop): Declare.
> > * passes.c (init_optimization_passes): New phiprop pass.
> > * tree-ssa-forwprop.c (struct phiprop_d): New structure.
> > (phivn_valid_p): New helper function.
> > (phiprop_insert_phi): Likewise.
> > (propagate_with_phi): Likewise.
> > (tree_ssa_phiprop): New propagator propagating loads
> > through phi nodes if profitable.
> > (tree_ssa_forward_propagate_single_use_va): Call it.
> >
> > * gcc.c-torture/execute/20070212-1.c: New testcase.
> > * gcc.c-torture/execute/20070212-2.c: Likewise.
> > * gcc.c-torture/execute/20070212-3.c: Likewise.
> > * gcc.dg/tree-ssa/pr21463.c: Likewise.
> > * g++.dg/tree-ssa/pr21463.C: Likewise.
> > * g++.dg/tree-ssa/pr30738.C: Likewise.
>
> OK. Thanks for you patience.
I added another testcase and applied the patch to mainline after a
re-bootstrap and test on x86_64-unknown-linux-gnu.
Thanks,
Richard.
More information about the Gcc-patches
mailing list