From: Richard Kenner Date: Sat, 26 Jun 1993 15:21:20 +0000 (-0400) Subject: (poplevel): Start new function context when writing inline function. X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=47df02623af70d9c5285d69b72eed121e2b141d5;p=gcc.git (poplevel): Start new function context when writing inline function. From-SVN: r4755 --- 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,