From: Doug Evans Date: Tue, 28 Feb 1995 19:46:31 +0000 (+0000) Subject: (rest_of_compilation): Defer output of static inlines X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=20396967762704fd3e457d79e137f943060d760e;p=gcc.git (rest_of_compilation): Defer output of static inlines even if not optimizing, they may never be referenced. From-SVN: r9092 --- diff --git a/gcc/toplev.c b/gcc/toplev.c index 16b351cdb32..532ac4ef523 100644 --- a/gcc/toplev.c +++ b/gcc/toplev.c @@ -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))))