Message ID | 20170728122611.2gv6g3urxqbjab2j@virgil.suse.cz |
---|---|
State | New |
Headers | show |
diff --git a/gcc/ipa-fnsummary.c b/gcc/ipa-fnsummary.c index 7324aac32c2..27e8d73f9df 100644 --- a/gcc/ipa-fnsummary.c +++ b/gcc/ipa-fnsummary.c @@ -3174,9 +3174,7 @@ ipa_fn_summary_generate (void) FOR_EACH_DEFINED_FUNCTION (node) if (DECL_STRUCT_FUNCTION (node->decl)) - node->local.versionable = - (opt_for_fn (node->decl, optimize) - && tree_versionable_function_p (node->decl)); + node->local.versionable = tree_versionable_function_p (node->decl); ipa_fn_summary_alloc ();