From 8a8dccb2c0d7fe8cc755a0f9bcf5d5a7d9516a6d Mon Sep 17 00:00:00 2001 From: Jan Hubicka Date: Mon, 18 Apr 2011 20:52:22 +0200 Subject: [PATCH] * ipa-inline.c (inline_small_functions): Fix pasto in previous patch. From-SVN: r172664 --- gcc/ChangeLog | 2 ++ gcc/ipa-inline.c | 2 +- 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/gcc/ChangeLog b/gcc/ChangeLog index 4240755328a..718056a85f9 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,5 +1,7 @@ 2011-04-18 Jan Hubicka + * ipa-inline.c (inline_small_functions): Fix pasto in previous patch. + * ipa-inline.c: Fix comment typos; do not inline gt-ipa-inline.h (want_inline_function_called_once_p): Break out the logic from ipa_inline. diff --git a/gcc/ipa-inline.c b/gcc/ipa-inline.c index 23a72c730b7..d1928883140 100644 --- a/gcc/ipa-inline.c +++ b/gcc/ipa-inline.c @@ -1333,12 +1333,12 @@ inline_small_functions (void) } } + overall_size = initial_size; max_size = compute_max_insns (overall_size); min_size = overall_size; gcc_assert (in_lto_p || !max_count || (profile_info && flag_branch_probabilities)); - overall_size = initial_size; while (!fibheap_empty (heap)) { -- 2.30.2