ipa-inline-analsysis.c (evaluate_conditions_for_known_args): Revert accidental change.
authorJan Hubicka <hubicka@ucw.cz>
Mon, 2 May 2016 17:38:53 +0000 (19:38 +0200)
committerJan Hubicka <hubicka@gcc.gnu.org>
Mon, 2 May 2016 17:38:53 +0000 (17:38 +0000)
* ipa-inline-analsysis.c (evaluate_conditions_for_known_args): Revert
accidental change.

From-SVN: r235771

gcc/ChangeLog
gcc/ipa-inline-analysis.c

index bb10f5e08d6f50795380a19edffaffb2f82b2d89..051b87135417c10e6fee88a20b882d72223b6090 100644 (file)
@@ -1,6 +1,8 @@
 2016-05-02  Jan Hubicka  <hubicka@ucw.cz>
 
        * cif-code.def (CIF_THUNK): Add.
+       * ipa-inline-analsysis.c (evaluate_conditions_for_known_args): Revert
+       accidental change.
 
 2016-05-02  Jan Hubicka  <hubicka@ucw.cz>
 
index a2f31285506e5dbed302d6abe2fa85afc6c0c303..4fbc2eddacede8c66c3da161353eccf7d809f3b1 100644 (file)
@@ -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;