aboutsummaryrefslogtreecommitdiff
path: root/gcc/cgraph.c
diff options
context:
space:
mode:
Diffstat (limited to 'gcc/cgraph.c')
-rw-r--r--gcc/cgraph.c3
1 files changed, 0 insertions, 3 deletions
diff --git a/gcc/cgraph.c b/gcc/cgraph.c
index 3d4703b4b..0e9accecf 100644
--- a/gcc/cgraph.c
+++ b/gcc/cgraph.c
@@ -1127,7 +1127,6 @@ cgraph_release_function_body (struct cgraph_node *node)
{
if (DECL_STRUCT_FUNCTION (node->symbol.decl))
{
- tree old_decl = current_function_decl;
push_cfun (DECL_STRUCT_FUNCTION (node->symbol.decl));
if (cfun->cfg
&& current_loops)
@@ -1137,11 +1136,9 @@ cgraph_release_function_body (struct cgraph_node *node)
}
if (cfun->gimple_df)
{
- current_function_decl = node->symbol.decl;
delete_tree_ssa ();
delete_tree_cfg_annotations ();
cfun->eh = NULL;
- current_function_decl = old_decl;
}
if (cfun->cfg)
{