diff options
author | rth <rth@138bc75d-0d04-0410-961f-82ee72b054a4> | 2002-03-03 04:50:53 +0000 |
---|---|---|
committer | rth <rth@138bc75d-0d04-0410-961f-82ee72b054a4> | 2002-03-03 04:50:53 +0000 |
commit | 01694f08f0f243e25e2fe4f288d963bdaaed2c00 (patch) | |
tree | bbda082e91221cd2570817b8af1eb6de817d8392 /gcc/attribs.c | |
parent | 41eb471c1884c63591a1cbfe50bae5d56ebdbba7 (diff) | |
download | gcc-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.c | 3 |
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; |