summaryrefslogtreecommitdiff
path: root/gcc/config/darwin.c
diff options
context:
space:
mode:
Diffstat (limited to 'gcc/config/darwin.c')
-rw-r--r--gcc/config/darwin.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/gcc/config/darwin.c b/gcc/config/darwin.c
index 462c81d0a08..cec341dfe35 100644
--- a/gcc/config/darwin.c
+++ b/gcc/config/darwin.c
@@ -1521,7 +1521,7 @@ machopic_select_section (tree decl,
one = DECL_P (decl)
&& TREE_CODE (decl) == VAR_DECL
- && DECL_ONE_ONLY (decl);
+ && DECL_COMDAT_GROUP (decl);
ro = TREE_READONLY (decl) || TREE_CONSTANT (decl) ;