From: Richard Biener Date: Thu, 12 Jul 2018 10:12:46 +0000 (+0000) Subject: tree-ssa-sccvn.c (vn_lookup_simplify_result): Remove bogus left-over from last patch. X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=d9931da9b7941e375c78196a6b93897e79b65e51;p=gcc.git tree-ssa-sccvn.c (vn_lookup_simplify_result): Remove bogus left-over from last patch. 2018-07-12 Richard Biener * tree-ssa-sccvn.c (vn_lookup_simplify_result): Remove bogus left-over from last patch. From-SVN: r262578 --- diff --git a/gcc/ChangeLog b/gcc/ChangeLog index 415aca314b6..a401946f83b 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,8 @@ +2018-07-12 Richard Biener + + * tree-ssa-sccvn.c (vn_lookup_simplify_result): Remove bogus + left-over from last patch. + 2018-07-12 Jakub Jelinek PR tree-optimization/86492 diff --git a/gcc/tree-ssa-sccvn.c b/gcc/tree-ssa-sccvn.c index de3531d4e0b..d779c66f6e0 100644 --- a/gcc/tree-ssa-sccvn.c +++ b/gcc/tree-ssa-sccvn.c @@ -1669,17 +1669,8 @@ vn_lookup_simplify_result (gimple_match_op *res_op) ops[i] = CONSTRUCTOR_ELT (res_op->ops[0], i)->value; } vn_nary_op_t vnresult = NULL; - tree res = vn_nary_op_lookup_pieces (length, (tree_code) res_op->code, - res_op->type, ops, &vnresult); - if (res - && mprts_hook) - { - if (dump_file && (dump_flags & TDF_DETAILS)) - fprintf (dump_file, "Resetting mprts_hook after too many " - "invocations.\n"); - mprts_hook = NULL; - } - return res; + return vn_nary_op_lookup_pieces (length, (tree_code) res_op->code, + res_op->type, ops, &vnresult); } /* Return a value-number for RCODE OPS... either by looking up an existing