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
This commit is contained in:
parent
2ed3b4ee02
commit
7b3b340eaf
@ -1,3 +1,8 @@
|
||||
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;
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user