summaryrefslogtreecommitdiff
path: root/gcc/attribs.c
diff options
context:
space:
mode:
authorrth <rth@138bc75d-0d04-0410-961f-82ee72b054a4>2002-03-03 04:50:53 +0000
committerrth <rth@138bc75d-0d04-0410-961f-82ee72b054a4>2002-03-03 04:50:53 +0000
commit01694f08f0f243e25e2fe4f288d963bdaaed2c00 (patch)
treebbda082e91221cd2570817b8af1eb6de817d8392 /gcc/attribs.c
parent41eb471c1884c63591a1cbfe50bae5d56ebdbba7 (diff)
downloadgcc-01694f08f0f243e25e2fe4f288d963bdaaed2c00.tar.gz
* attribs.c (handle_alias_attribute): Don't call assemble_alias.
(handle_visibility_attribute): Don't call assemble_visibility. * toplev.c (rest_of_decl_compilation): Invoke make_decl_rtl even without asmspec. Invoke assemble_alias when needed. * varasm.c (maybe_assemble_visibility): New. (assemble_start_function, assemble_variable, assemble_alias): Use it. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@50237 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/attribs.c')
-rw-r--r--gcc/attribs.c3
1 files changed, 0 insertions, 3 deletions
diff --git a/gcc/attribs.c b/gcc/attribs.c
index 2879d100a30..ca5a10c3dc2 100644
--- a/gcc/attribs.c
+++ b/gcc/attribs.c
@@ -1054,7 +1054,6 @@ handle_alias_attribute (node, name, args, flags, no_add_attrs)
DECL_INITIAL (decl) = error_mark_node;
else
DECL_EXTERNAL (decl) = 0;
- assemble_alias (decl, id);
}
else
{
@@ -1102,8 +1101,6 @@ handle_visibility_attribute (node, name, args, flags, no_add_attrs)
*no_add_attrs = true;
return NULL_TREE;
}
-
- assemble_visibility (decl, TREE_STRING_POINTER (id));
}
return NULL_TREE;