[PATCH] Avoid doing DCE in substitute_and_fold from VRP (PR tree-optimization/44508)

Richard Guenther richard.guenther@gmail.com
Mon Jun 14 13:47:00 GMT 2010


On Mon, Jun 14, 2010 at 3:07 PM, Jakub Jelinek <jakub@redhat.com> wrote:
> Hi!
>
> libgomp.fortran/vla*.f90 fails on s390 on 4.4 branch, because
> substitute_and_fold DCEs some trivially dead statements after earlier
> substitutions/folding), which releases the LHS SSA_NAMEs.  Those
> SSA_NAMEs are still referenced from some VRP ranges though and can result in
> crashes, either still in substitute_and_fold in other folding using VRP,
> or in subsequent identify_jump_threads call.
> The problem is just latent on the trunk.
>
> Bootstrapped/regtested on x86_64-linux and i686-linux on the trunk and on
> x86_64-linux, i686-linux and s390-linux so far on 4.4 branch.

Ok.

Thanks,
Richard.

>        Jakub
>



More information about the Gcc-patches mailing list