Commit 0688f9c1 by Martin Jambor Committed by Martin Jambor

[PR 81477] Set versionable regardless of optimization level

2017-07-31  Martin Jambor  <mjambor@suse.cz>

	PR hsa/81477
	* ipa-fnsummary.c (ipa_fn_summary_generate): Set versionable
	regardless of optimization level.

From-SVN: r250738
parent 7fef86d3
2017-07-31 Martin Jambor <mjambor@suse.cz>
PR hsa/81477
* ipa-fnsummary.c (ipa_fn_summary_generate): Set versionable
regardless of optimization level.
2017-07-31 Jan Hubicka <hubicka@ucw.cz> 2017-07-31 Jan Hubicka <hubicka@ucw.cz>
Martin Liska <mliska@suse.cz> Martin Liska <mliska@suse.cz>
......
...@@ -3174,9 +3174,7 @@ ipa_fn_summary_generate (void) ...@@ -3174,9 +3174,7 @@ ipa_fn_summary_generate (void)
FOR_EACH_DEFINED_FUNCTION (node) FOR_EACH_DEFINED_FUNCTION (node)
if (DECL_STRUCT_FUNCTION (node->decl)) if (DECL_STRUCT_FUNCTION (node->decl))
node->local.versionable = node->local.versionable = tree_versionable_function_p (node->decl);
(opt_for_fn (node->decl, optimize)
&& tree_versionable_function_p (node->decl));
ipa_fn_summary_alloc (); ipa_fn_summary_alloc ();
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment