cgraphunit.c (decide_is_function_needed): Do not keep always_inline functions.
* cgraphunit.c (decide_is_function_needed): Do not keep always_inline functions. From-SVN: r123614
This commit is contained in:
parent
d869c35152
commit
b521dcbee1
2 changed files with 7 additions and 1 deletions
|
@ -1,3 +1,8 @@
|
|||
2007-04-06 Jan Hubicka <jh@suse.cz>
|
||||
|
||||
* cgraphunit.c (decide_is_function_needed): Do not keep always_inline
|
||||
functions.
|
||||
|
||||
2007-04-06 Uros Bizjak <ubizjak@gmail.com>
|
||||
|
||||
* config/i386/i386.c (output_387_reg_move): Handle memory operand[0].
|
||||
|
|
|
@ -202,7 +202,8 @@ decide_is_function_needed (struct cgraph_node *node, tree decl)
|
|||
for extern inline ones. */
|
||||
if (flag_keep_inline_functions
|
||||
&& DECL_DECLARED_INLINE_P (decl)
|
||||
&& !DECL_EXTERNAL (decl))
|
||||
&& !DECL_EXTERNAL (decl)
|
||||
&& !lookup_attribute ("always_inline", DECL_ATTRIBUTES (decl)))
|
||||
return true;
|
||||
|
||||
/* If we decided it was needed before, but at the time we didn't have
|
||||
|
|
Loading…
Add table
Reference in a new issue