diff --git a/gcc/cgraph.cc b/gcc/cgraph.cc index 5851b2ffc6c..f15cb47c8b8 100644 --- a/gcc/cgraph.cc +++ b/gcc/cgraph.cc @@ -2490,7 +2490,6 @@ cgraph_node::make_local (cgraph_node *node, void *) node->externally_visible = false; node->forced_by_abi = false; node->local = true; - node->set_section (NULL); node->unique_name = ((node->resolution == LDPR_PREVAILING_DEF_IRONLY || node->resolution == LDPR_PREVAILING_DEF_IRONLY_EXP) && !flag_incremental_link); diff --git a/gcc/multiple_target.cc b/gcc/multiple_target.cc index 3e2d26882c8..67866a7c963 100644 --- a/gcc/multiple_target.cc +++ b/gcc/multiple_target.cc @@ -178,7 +178,6 @@ create_dispatcher_calls (struct cgraph_node *node) node->set_comdat_group (NULL); node->externally_visible = false; node->forced_by_abi = false; - node->set_section (NULL); DECL_ARTIFICIAL (node->decl) = 1; node->force_output = true;