Commit 7b3b340e by Martin Jambor Committed by Martin Jambor

tree-sra.c (ipa_sra_preliminary_function_checks): Skip DECL_DISREGARD_INLINE_LIMITS functions.

2014-04-14  Martin Jambor  <mjambor@suse.cz>

	* tree-sra.c (ipa_sra_preliminary_function_checks): Skip
	DECL_DISREGARD_INLINE_LIMITS functions.

From-SVN: r209386
parent 2ed3b4ee
2014-04-14 Martin Jambor <mjambor@suse.cz>
* tree-sra.c (ipa_sra_preliminary_function_checks): Skip
DECL_DISREGARD_INLINE_LIMITS functions.
2014-04-14 H.J. Lu <hongjiu.lu@intel.com>
PR target/60827
......
......@@ -4960,6 +4960,14 @@ ipa_sra_preliminary_function_checks (struct cgraph_node *node)
if (TYPE_ATTRIBUTES (TREE_TYPE (node->decl)))
return false;
if (DECL_DISREGARD_INLINE_LIMITS (node->decl))
{
if (dump_file)
fprintf (dump_file, "Always inline function will be inlined "
"anyway. \n");
return false;
}
return true;
}
......
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