From 01694f08f0f243e25e2fe4f288d963bdaaed2c00 Mon Sep 17 00:00:00 2001 From: rth Date: Sun, 3 Mar 2002 04:50:53 +0000 Subject: * 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 --- gcc/attribs.c | 3 --- 1 file changed, 3 deletions(-) (limited to 'gcc/attribs.c') 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; -- cgit v1.2.1