cgraph.c (cgraph_make_node_local): Use DECL_COMDAT_GROUP.

2009-06-15  Rafael Avila de Espindola  <espindola@google.com>

	* cgraph.c (cgraph_make_node_local): Use DECL_COMDAT_GROUP.

From-SVN: r148494
This commit is contained in:
Rafael Avila de Espindola 2009-06-15 14:52:41 +00:00 committed by Rafael Espindola
parent d40eb15883
commit 19751f1ff2
2 changed files with 5 additions and 1 deletions

View File

@ -1,3 +1,7 @@
2009-06-15 Rafael Avila de Espindola <espindola@google.com>
* cgraph.c (cgraph_make_node_local): Use DECL_COMDAT_GROUP.
2009-06-15 Aldy Hernandez <aldyh@redhat.com>
* except.c (init_eh): Use BUILTINS_LOCATION when calling build_decl.

View File

@ -1889,7 +1889,7 @@ cgraph_make_node_local (struct cgraph_node *node)
if (DECL_COMDAT (node->decl) || DECL_EXTERNAL (node->decl))
{
DECL_COMDAT (node->decl) = 0;
DECL_ONE_ONLY (node->decl) = 0;
DECL_COMDAT_GROUP (node->decl) = 0;
TREE_PUBLIC (node->decl) = 0;
DECL_WEAK (node->decl) = 0;
DECL_EXTERNAL (node->decl) = 0;