diff options
Diffstat (limited to 'gcc/function.c')
-rw-r--r-- | gcc/function.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/gcc/function.c b/gcc/function.c index 535c053860f..bade369ae91 100644 --- a/gcc/function.c +++ b/gcc/function.c @@ -4254,7 +4254,7 @@ invoke_set_current_function_hook (tree fndecl) if (optimization_current_node != opts) { optimization_current_node = opts; - cl_optimization_restore (TREE_OPTIMIZATION (opts)); + cl_optimization_restore (&global_options, TREE_OPTIMIZATION (opts)); } targetm.set_current_function (fndecl); |