]> git.ipfire.org Git - thirdparty/gcc.git/commitdiff
cgraph.c (cgraph_make_node_local): Use DECL_COMDAT_GROUP.
authorRafael Avila de Espindola <espindola@google.com>
Mon, 15 Jun 2009 14:52:41 +0000 (14:52 +0000)
committerRafael Espindola <espindola@gcc.gnu.org>
Mon, 15 Jun 2009 14:52:41 +0000 (14:52 +0000)
2009-06-15  Rafael Avila de Espindola  <espindola@google.com>

* cgraph.c (cgraph_make_node_local): Use DECL_COMDAT_GROUP.

From-SVN: r148494

gcc/ChangeLog
gcc/cgraph.c

index 742b43c8c3c0bd6e5f5b6fc9185e1fcf6d96aa32..42f74411066d8ca0c28e8971912d8be1f3533855 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 5eb0f1812b18f65bcc6fe96a28a5ad91cc86156f..4b3a962fbd3e06919dd32c4283422eeadcc95e14 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;