summaryrefslogtreecommitdiff
path: root/gcc/c-decl.c
diff options
context:
space:
mode:
authorRichard Kenner <kenner@gcc.gnu.org>1996-12-07 17:35:03 -0500
committerRichard Kenner <kenner@gcc.gnu.org>1996-12-07 17:35:03 -0500
commitdd103803e2ea358329566108e32c1a00a8d94ec9 (patch)
tree32a8271bfe8ae52b82c232f1ab435ce72c5dd909 /gcc/c-decl.c
parent1ba9a4871f4f9ef221176b84e285c1731c9bba9f (diff)
downloadgcc-dd103803e2ea358329566108e32c1a00a8d94ec9.tar.gz
(poplevel): Don't call output_inline_function if DECL_SAVED_INSNS is
not set. From-SVN: r13224
Diffstat (limited to 'gcc/c-decl.c')
-rw-r--r--gcc/c-decl.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/gcc/c-decl.c b/gcc/c-decl.c
index a3c8e29233a..b002700eb51 100644
--- a/gcc/c-decl.c
+++ b/gcc/c-decl.c
@@ -1003,7 +1003,7 @@ poplevel (keep, reverse, functionbody)
if (DECL_ABSTRACT_ORIGIN (decl) != 0
&& DECL_ABSTRACT_ORIGIN (decl) != decl)
TREE_ADDRESSABLE (DECL_ABSTRACT_ORIGIN (decl)) = 1;
- else
+ else if (DECL_SAVED_INSNS (decl) != 0)
{
push_function_context ();
output_inline_function (decl);