diff options
Diffstat (limited to 'gcc/function.c')
-rw-r--r-- | gcc/function.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/gcc/function.c b/gcc/function.c index 8dcdb31..b43e67f 100644 --- a/gcc/function.c +++ b/gcc/function.c @@ -4405,6 +4405,7 @@ invoke_set_current_function_hook (tree fndecl) cl_optimization_restore (&global_options, TREE_OPTIMIZATION (opts)); } + targetm.set_current_function (fndecl); this_fn_optabs = this_target_optabs; if (opts != optimization_default_node) @@ -4414,8 +4415,6 @@ invoke_set_current_function_hook (tree fndecl) this_fn_optabs = (struct target_optabs *) TREE_OPTIMIZATION_OPTABS (opts); } - - targetm.set_current_function (fndecl); } } |