diff options
Diffstat (limited to 'gcc/cgraphunit.c')
-rw-r--r-- | gcc/cgraphunit.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/gcc/cgraphunit.c b/gcc/cgraphunit.c index 5985e3de1f7..321674a08e8 100644 --- a/gcc/cgraphunit.c +++ b/gcc/cgraphunit.c @@ -1501,7 +1501,7 @@ cgraph_node::expand_thunk (bool output_asm_thunks, bool force_gimple_thunk) if (in_lto_p) get_body (); a = DECL_ARGUMENTS (thunk_fndecl); - + current_function_decl = thunk_fndecl; /* Ensure thunks are emitted in their correct sections. */ |