From 19751f1ff2bae13d6c178f8a1d9ef6997ee00497 Mon Sep 17 00:00:00 2001 From: Rafael Avila de Espindola Date: Mon, 15 Jun 2009 14:52:41 +0000 Subject: [PATCH] cgraph.c (cgraph_make_node_local): Use DECL_COMDAT_GROUP. 2009-06-15 Rafael Avila de Espindola * cgraph.c (cgraph_make_node_local): Use DECL_COMDAT_GROUP. From-SVN: r148494 --- gcc/ChangeLog | 4 ++++ gcc/cgraph.c | 2 +- 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/gcc/ChangeLog b/gcc/ChangeLog index 742b43c8c3c0..42f74411066d 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,7 @@ +2009-06-15 Rafael Avila de Espindola + + * cgraph.c (cgraph_make_node_local): Use DECL_COMDAT_GROUP. + 2009-06-15 Aldy Hernandez * except.c (init_eh): Use BUILTINS_LOCATION when calling build_decl. diff --git a/gcc/cgraph.c b/gcc/cgraph.c index 5eb0f1812b18..4b3a962fbd3e 100644 --- a/gcc/cgraph.c +++ b/gcc/cgraph.c @@ -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;