aboutsummaryrefslogtreecommitdiff
path: root/gcc/function.c
diff options
context:
space:
mode:
authorRichard Kenner <kenner@gcc.gnu.org>1996-04-16 10:19:07 -0400
committerRichard Kenner <kenner@gcc.gnu.org>1996-04-16 10:19:07 -0400
commit1651bdfef8b316f52d5fb206ff777208573a88ab (patch)
treee1990e6fd04dade416921cccf3a83dbda5cc736f /gcc/function.c
parenta4ec6e2a101d9cbaab3f19d3b9cf14d8847458be (diff)
downloadgcc-1651bdfef8b316f52d5fb206ff777208573a88ab.zip
gcc-1651bdfef8b316f52d5fb206ff777208573a88ab.tar.gz
gcc-1651bdfef8b316f52d5fb206ff777208573a88ab.tar.bz2
(push_function_context_{to,from}): Save and restore
current_function_returns_pointer. From-SVN: r11812
Diffstat (limited to 'gcc/function.c')
-rw-r--r--gcc/function.c2
1 files changed, 2 insertions, 0 deletions
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;