cp-tree.h (lang_decl_flags): Add global_ctor_p and global_dtor_p.
authorMark Mitchell <mmitchel@gcc.gnu.org>
Fri, 1 Oct 1999 00:43:27 +0000 (00:43 +0000)
committerMark Mitchell <mmitchel@gcc.gnu.org>
Fri, 1 Oct 1999 00:43:27 +0000 (00:43 +0000)
commit2b76013c9a51825a9447cb693c2bb75ed35aa265
treeb8a2be7d40a01a5d28174020f20aacf15182a232
parentb65fcf051f2d887decd5ffa5bd947c01ff88dc46
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: r29738
gcc/cp/decl2.c