On Wed, Mar 31, 2021 at 3:31 PM Alex Coplan via Gcc-patches <gcc-patches@gcc.gnu.org> wrote: > > Hi all, > > I'd like to backport the fix for PR97849 to GCC 10. The patch on trunk: > https://gcc.gnu.org/g:5700973f4a30762b4fc21687bb5f7843e55da2e4 > applies cleanly to the 10 branch. > > Bootstrapped and regtested on aarch64-linux-gnu, no regressions. > > OK for GCC 10.3?
OK. > Thanks, > Alex > > --- > > gcc/ChangeLog > 2020-11-24 Prathamesh Kulkarni <prathamesh.kulka...@linaro.org> > > PR tree-optimization/97849 > * tree-if-conv.c (tree_if_conversion): Move ssa_name > replacement code from ifcvt_local_dce to this function > before calling do_rpo_vn. > > gcc/testsuite/ChangeLog > 2020-11-24 Prathamesh Kulkarni <prathamesh.kulka...@linaro.org> > > PR tree-optimization/97849 > * gcc.dg/tree-ssa/pr97849.c: New test.