From 47df02623af70d9c5285d69b72eed121e2b141d5 Mon Sep 17 00:00:00 2001 From: Richard Kenner Date: Sat, 26 Jun 1993 11:21:20 -0400 Subject: [PATCH] (poplevel): Start new function context when writing inline function. From-SVN: r4755 --- gcc/c-decl.c | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/gcc/c-decl.c b/gcc/c-decl.c index 11447e4730a..e9b2e5b6ff1 100644 --- a/gcc/c-decl.c +++ b/gcc/c-decl.c @@ -931,7 +931,11 @@ poplevel (keep, reverse, functionbody) if (DECL_ABSTRACT_ORIGIN (decl) != 0) TREE_ADDRESSABLE (DECL_ABSTRACT_ORIGIN (decl)) = 1; else - output_inline_function (decl); + { + push_function_context (); + output_inline_function (decl); + pop_function_context (); + } } /* If there were any declarations or structure tags in that level, -- 2.30.2