From: Richard Biener Date: Thu, 22 Nov 2018 09:50:58 +0000 (+0000) Subject: re PR tree-optimization/88069 (ICE in check_loop_closed_ssa_def, at tree-ssa-loop... X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=d42ef0f85fa3ceacfa64fdded5c08f5bfb669185;p=gcc.git re PR tree-optimization/88069 (ICE in check_loop_closed_ssa_def, at tree-ssa-loop-manip.c:709) 2018-11-22 Richard Biener PR tree-optimization/88069 * tree-ssa-sccvn.c (visit_phi): Tweak previous fix to not apply to default defs. From-SVN: r266371 --- diff --git a/gcc/ChangeLog b/gcc/ChangeLog index 98993207d32..f1f6b833950 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,9 @@ +2018-11-22 Richard Biener + + PR tree-optimization/88069 + * tree-ssa-sccvn.c (visit_phi): Tweak previous fix to not + apply to default defs. + 2018-11-22 Jakub Jelinek PR target/85644 diff --git a/gcc/tree-ssa-sccvn.c b/gcc/tree-ssa-sccvn.c index 941752e7887..17d9f5e06d1 100644 --- a/gcc/tree-ssa-sccvn.c +++ b/gcc/tree-ssa-sccvn.c @@ -4205,6 +4205,7 @@ visit_phi (gimple *phi, bool *inserted, bool backedges_varying_p) given that allows us to escape a region in alias walking. */ || (sameval && TREE_CODE (sameval) == SSA_NAME + && !SSA_NAME_IS_DEFAULT_DEF (sameval) && SSA_NAME_IS_VIRTUAL_OPERAND (sameval) && (SSA_VAL (sameval, &visited_p), !visited_p))) /* Note this just drops to VARYING without inserting the PHI into