aboutsummaryrefslogtreecommitdiff
path: root/gcc/tree.c
diff options
context:
space:
mode:
Diffstat (limited to 'gcc/tree.c')
-rw-r--r--gcc/tree.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/gcc/tree.c b/gcc/tree.c
index 8ca7211..43ce44f 100644
--- a/gcc/tree.c
+++ b/gcc/tree.c
@@ -5590,8 +5590,7 @@ need_assembler_name_p (tree decl)
if (TREE_CODE (decl) == TYPE_DECL)
{
- if (flag_lto_odr_type_mering
- && DECL_NAME (decl)
+ if (DECL_NAME (decl)
&& decl == TYPE_NAME (TREE_TYPE (decl))
&& TYPE_MAIN_VARIANT (TREE_TYPE (decl)) == TREE_TYPE (decl)
&& !TYPE_ARTIFICIAL (TREE_TYPE (decl))