Commit 20396967 by Doug Evans

(rest_of_compilation): Defer output of static inlines

even if not optimizing, they may never be referenced.

From-SVN: r9092
parent 52cf95a7
...@@ -2854,7 +2854,7 @@ rest_of_compilation (decl) ...@@ -2854,7 +2854,7 @@ rest_of_compilation (decl)
functions that we are supposed to defer. */ functions that we are supposed to defer. */
if (DECL_DEFER_OUTPUT (decl) if (DECL_DEFER_OUTPUT (decl)
|| (DECL_INLINE (decl) || ((specd || DECL_INLINE (decl))
&& ((! TREE_PUBLIC (decl) && ! TREE_ADDRESSABLE (decl) && ((! TREE_PUBLIC (decl) && ! TREE_ADDRESSABLE (decl)
&& ! flag_keep_inline_functions) && ! flag_keep_inline_functions)
|| DECL_EXTERNAL (decl)))) || DECL_EXTERNAL (decl))))
......
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