aboutsummaryrefslogtreecommitdiff
path: root/gcc/cp/method.c
diff options
context:
space:
mode:
Diffstat (limited to 'gcc/cp/method.c')
-rw-r--r--gcc/cp/method.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/gcc/cp/method.c b/gcc/cp/method.c
index 4873285..3e4cf2b 100644
--- a/gcc/cp/method.c
+++ b/gcc/cp/method.c
@@ -2150,7 +2150,7 @@ emit_thunk (thunk_fndecl)
ASM_OUTPUT_MI_THUNK (asm_out_file, thunk_fndecl, delta, function);
assemble_end_function (thunk_fndecl, fnname);
current_function_decl = 0;
- current_function = 0;
+ cfun = 0;
}
#else /* ASM_OUTPUT_MI_THUNK */
{