Commit 47df0262 by Richard Kenner

(poplevel): Start new function context when writing inline function.

From-SVN: r4755
parent 86ef2ef9
...@@ -931,7 +931,11 @@ poplevel (keep, reverse, functionbody) ...@@ -931,7 +931,11 @@ poplevel (keep, reverse, functionbody)
if (DECL_ABSTRACT_ORIGIN (decl) != 0) if (DECL_ABSTRACT_ORIGIN (decl) != 0)
TREE_ADDRESSABLE (DECL_ABSTRACT_ORIGIN (decl)) = 1; TREE_ADDRESSABLE (DECL_ABSTRACT_ORIGIN (decl)) = 1;
else 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, /* If there were any declarations or structure tags in that level,
......
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