From d9931da9b7941e375c78196a6b93897e79b65e51 Mon Sep 17 00:00:00 2001 From: Richard Biener Date: Thu, 12 Jul 2018 10:12:46 +0000 Subject: [PATCH] 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 --- gcc/ChangeLog | 5 +++++ gcc/tree-ssa-sccvn.c | 13 ++----------- 2 files changed, 7 insertions(+), 11 deletions(-) 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 -- 2.30.2