From 1651bdfef8b316f52d5fb206ff777208573a88ab Mon Sep 17 00:00:00 2001 From: Richard Kenner Date: Tue, 16 Apr 1996 10:19:07 -0400 Subject: [PATCH] (push_function_context_{to,from}): Save and restore current_function_returns_pointer. From-SVN: r11812 --- gcc/function.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/gcc/function.c b/gcc/function.c index 54c668e..5c2b701 100644 --- a/gcc/function.c +++ b/gcc/function.c @@ -488,6 +488,7 @@ push_function_context_to (context) p->pops_args = current_function_pops_args; p->returns_struct = current_function_returns_struct; p->returns_pcc_struct = current_function_returns_pcc_struct; + p->returns_pointer = current_function_returns_pointer; p->needs_context = current_function_needs_context; p->calls_setjmp = current_function_calls_setjmp; p->calls_longjmp = current_function_calls_longjmp; @@ -566,6 +567,7 @@ pop_function_context_from (context) current_function_pops_args = p->pops_args; current_function_returns_struct = p->returns_struct; current_function_returns_pcc_struct = p->returns_pcc_struct; + current_function_returns_pointer = p->returns_pointer; current_function_needs_context = p->needs_context; current_function_calls_setjmp = p->calls_setjmp; current_function_calls_longjmp = p->calls_longjmp; -- 2.7.4