(rest_of_compilation): Defer output of static inlines
even if not optimizing, they may never be referenced. From-SVN: r9092
This commit is contained in:
parent
52cf95a7d4
commit
2039696776
|
@ -2854,7 +2854,7 @@ rest_of_compilation (decl)
|
|||
functions that we are supposed to defer. */
|
||||
|
||||
if (DECL_DEFER_OUTPUT (decl)
|
||||
|| (DECL_INLINE (decl)
|
||||
|| ((specd || DECL_INLINE (decl))
|
||||
&& ((! TREE_PUBLIC (decl) && ! TREE_ADDRESSABLE (decl)
|
||||
&& ! flag_keep_inline_functions)
|
||||
|| DECL_EXTERNAL (decl))))
|
||||
|
|
Loading…
Reference in New Issue