]> git.ipfire.org Git - thirdparty/gcc.git/commitdiff
* ipa-inline.c (ipa_inline): Fix condition on when
authorhubicka <hubicka@138bc75d-0d04-0410-961f-82ee72b054a4>
Fri, 12 Dec 2014 09:05:56 +0000 (09:05 +0000)
committerhubicka <hubicka@138bc75d-0d04-0410-961f-82ee72b054a4>
Fri, 12 Dec 2014 09:05:56 +0000 (09:05 +0000)
TODO_remove_unreachable_functions is needed.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@218660 138bc75d-0d04-0410-961f-82ee72b054a4

gcc/ChangeLog
gcc/ipa-inline.c

index 74e3ddc2a3cb941b5bd5d89e2d05efd25bd38452..a1cdd712373fbbd5f85090066cb0e5baa121ce6d 100644 (file)
@@ -1,3 +1,8 @@
+2014-12-12  Jan Hubicka  <hubicka@ucw.cz>
+
+       * ipa-inline.c (ipa_inline): Fix condition on when
+       TODO_remove_unreachable_functions is needed.
+
 2014-12-12  Jan Hubicka  <hubicka@ucw.cz>
 
        * ipa-devirt.c (possible_polymorphic_call_targets): Return early
index 8954e49353392613dc9e9dd791ba514a7199b0bf..451695f0a80a21621e358b6cc0b4691e688eeac0 100644 (file)
@@ -2254,8 +2254,7 @@ ipa_inline (void)
              while (node->call_for_symbol_thunks_and_aliases
                       (inline_to_all_callers, &num_calls, true))
                ;
-             if (num_calls)
-               remove_functions = true;
+             remove_functions = true;
            }
        }
     }