cp-tree.h (lang_decl_flags): Add global_ctor_p and global_dtor_p.
authorMark Mitchell <mark@codesourcery.com>
Thu, 30 Sep 1999 17:43:44 +0000 (17:43 +0000)
committerMark Mitchell <mmitchel@gcc.gnu.org>
Thu, 30 Sep 1999 17:43:44 +0000 (17:43 +0000)
commitaf3b4e599c01847d050f491fe3e88fc5ce801b71
tree9c7a0b079ee897b64ab59317dccda35e632b164a
parentf793a95e2e771fa6f849fab0a717a61df35857ed
cp-tree.h (lang_decl_flags): Add global_ctor_p and global_dtor_p.

* cp-tree.h (lang_decl_flags): Add global_ctor_p and
global_dtor_p.  Add init_priority.
(DECL_ACCESS): Adjust accordingly.
(DECL_GLOBAL_CTOR_P, DECL_GLOBAL_DTOR_P): New macros.
(GLOBAL_INIT_PRIORITY): Likewise.
* decl.c (lang_mark_tree): Adjust accordingly.
(start_objects): Set DECL_GLOBAL_CTOR_P, DECL_GLOBAL_DTOR_P,
and GLOBAL_INIT_PRIORITY.
* dump.c (dequeue_and_dump): Print them.
* ir.texi: Document them.

From-SVN: r29733
gcc/cp/ChangeLog
gcc/cp/cp-tree.h
gcc/cp/decl.c
gcc/cp/dump.c
gcc/cp/ir.texi