diff options
author | Rafael Avila de Espindola <espindola@google.com> | 2009-06-15 14:52:41 +0000 |
---|---|---|
committer | Rafael Espindola <espindola@gcc.gnu.org> | 2009-06-15 14:52:41 +0000 |
commit | 19751f1ff2bae13d6c178f8a1d9ef6997ee00497 (patch) | |
tree | c65fce8721f3af5af03a585a76ed897c48e4068e /gcc | |
parent | d40eb1588359deacf6d7d32de236231e5ee04905 (diff) | |
download | gcc-19751f1ff2bae13d6c178f8a1d9ef6997ee00497.zip gcc-19751f1ff2bae13d6c178f8a1d9ef6997ee00497.tar.gz gcc-19751f1ff2bae13d6c178f8a1d9ef6997ee00497.tar.bz2 |
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
Diffstat (limited to 'gcc')
-rw-r--r-- | gcc/ChangeLog | 4 | ||||
-rw-r--r-- | gcc/cgraph.c | 2 |
2 files changed, 5 insertions, 1 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog index 742b43c..42f7441 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -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. diff --git a/gcc/cgraph.c b/gcc/cgraph.c index 5eb0f18..4b3a962 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; |