]> gcc.gnu.org Git - gcc.git/commit - gcc/tree.h
c-common.c (handle_visibility_attribute): Set DECL_VISIBILITY field instead of hangin...
authorMatt Austern <austern@apple.com>
Thu, 6 Nov 2003 22:08:26 +0000 (22:08 +0000)
committerMatt Austern <austern@gcc.gnu.org>
Thu, 6 Nov 2003 22:08:26 +0000 (22:08 +0000)
commit968b41a1662526b8b3eb5861f7fb369450ff9644
treec4ffb9b377ba06be592c6688dd70529152203fd4
parent63e292b7ec0ae980f7ffa763448c81a923a72321
c-common.c (handle_visibility_attribute): Set DECL_VISIBILITY field instead of hanging an attribute object off the decl.

* c-common.c (handle_visibility_attribute): Set DECL_VISIBILITY
field instead of hanging an attribute object off the decl.
* tree.h (DECL_VISIBLITY): New accessor macro for
symbol_visibility field in struct tree_decl.
(enum symbol_visibility): Move definition to before tree_decl.
(struct tree_decl): Define new two-bit field, symbol_visibility.
(decl_visibility): Remove declaration.
* varasm.c (maybe_assemble_visibility): Use DECL_VISIBILITY
instead of decl_visibility.
(default_binds_local_p_1):  Use DECL_VISIBILITY instead of
decl_visibility.
(decl_visibility): Remove.
* cp/decl.c (duplicate_decls): copy DECL_VISIBILITY field.
* cp/method.c (use_thunk): give thunk same visibility as function.
* cp/optimize.c (maybe_clone_body): copy DECL_VISIBILITY field.

From-SVN: r73320
gcc/ChangeLog
gcc/c-common.c
gcc/cp/ChangeLog
gcc/cp/decl.c
gcc/cp/method.c
gcc/cp/optimize.c
gcc/tree.h
gcc/varasm.c
This page took 0.0563 seconds and 5 git commands to generate.