OSDN Git Service

2009-06-15 Rafael Avila de Espindola <espindola@google.com>
authorespindola <espindola@138bc75d-0d04-0410-961f-82ee72b054a4>
Mon, 15 Jun 2009 14:52:41 +0000 (14:52 +0000)
committerespindola <espindola@138bc75d-0d04-0410-961f-82ee72b054a4>
Mon, 15 Jun 2009 14:52:41 +0000 (14:52 +0000)
* cgraph.c (cgraph_make_node_local): Use DECL_COMDAT_GROUP.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@148494 138bc75d-0d04-0410-961f-82ee72b054a4

gcc/ChangeLog
gcc/cgraph.c

index 742b43c..42f7441 100644 (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.
index 5eb0f18..4b3a962 100644 (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;