* ipa-inline.c (inline_small_functions): Fix pasto in previous patch.
authorJan Hubicka <jh@suse.cz>
Mon, 18 Apr 2011 18:52:22 +0000 (20:52 +0200)
committerJan Hubicka <hubicka@gcc.gnu.org>
Mon, 18 Apr 2011 18:52:22 +0000 (18:52 +0000)
From-SVN: r172664

gcc/ChangeLog
gcc/ipa-inline.c

index 4240755328aa3c1aa2bd3c9acf397b3c73d99f8f..718056a85f94963f2e350bd79bd6b503bee9430c 100644 (file)
@@ -1,5 +1,7 @@
 2011-04-18  Jan Hubicka  <jh@suse.cz>
 
+       * 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.
index 23a72c730b7fafb288992b13befd8ee0b0efaa97..d1928883140f26a970dd8fe2c266d7c4c1e571ad 100644 (file)
@@ -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))
     {