diff options
Diffstat (limited to 'gcc/function.c')
-rw-r--r-- | gcc/function.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/gcc/function.c b/gcc/function.c index 1da182a..30ede39 100644 --- a/gcc/function.c +++ b/gcc/function.c @@ -6408,6 +6408,8 @@ allocate_struct_function (tree fndecl) DECL_SAVED_INSNS (fndecl) = cfun; cfun->decl = fndecl; + current_function_name = (*lang_hooks.decl_printable_name) (fndecl, 2); + result = DECL_RESULT (fndecl); if (aggregate_value_p (result, fndecl)) { |