From 201da53f661de26ec1a185d7578e40dd3895bb05 Mon Sep 17 00:00:00 2001 From: Jan Hubicka Date: Mon, 2 May 2016 19:38:53 +0200 Subject: [PATCH] ipa-inline-analsysis.c (evaluate_conditions_for_known_args): Revert accidental change. * ipa-inline-analsysis.c (evaluate_conditions_for_known_args): Revert accidental change. From-SVN: r235771 --- gcc/ChangeLog | 2 ++ gcc/ipa-inline-analysis.c | 3 +-- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/gcc/ChangeLog b/gcc/ChangeLog index bb10f5e08d6..051b8713541 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,6 +1,8 @@ 2016-05-02 Jan Hubicka * cif-code.def (CIF_THUNK): Add. + * ipa-inline-analsysis.c (evaluate_conditions_for_known_args): Revert + accidental change. 2016-05-02 Jan Hubicka diff --git a/gcc/ipa-inline-analysis.c b/gcc/ipa-inline-analysis.c index a2f31285506..4fbc2eddace 100644 --- a/gcc/ipa-inline-analysis.c +++ b/gcc/ipa-inline-analysis.c @@ -850,8 +850,7 @@ evaluate_conditions_for_known_args (struct cgraph_node *node, if (known_aggs.exists ()) { agg = known_aggs[c->operand_num]; - val = ipa_find_agg_cst_for_param (agg, known_vals[c->operand_num], - c->offset, c->by_ref); + val = ipa_find_agg_cst_for_param (agg, c->offset, c->by_ref); } else val = NULL_TREE; -- 2.30.2