summaryrefslogtreecommitdiff
path: root/gcc/ada/utils.c
diff options
context:
space:
mode:
Diffstat (limited to 'gcc/ada/utils.c')
-rw-r--r--gcc/ada/utils.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/gcc/ada/utils.c b/gcc/ada/utils.c
index 8b0bf8183dd..ac6e1628854 100644
--- a/gcc/ada/utils.c
+++ b/gcc/ada/utils.c
@@ -310,7 +310,10 @@ poplevel (int keep, int reverse, int functionbody)
&& DECL_INITIAL (decl_node) != 0)
{
push_function_context ();
+ /* ??? This is temporary. */
+ ggc_push_context ();
output_inline_function (decl_node);
+ ggc_pop_context ();
pop_function_context ();
}