]> git.ipfire.org Git - thirdparty/gcc.git/commit
[C++ PATCH] Reserve a decl_lang bit
authorNathan Sidwell <nathan@acm.org>
Fri, 6 Sep 2019 11:22:09 +0000 (11:22 +0000)
committerNathan Sidwell <nathan@gcc.gnu.org>
Fri, 6 Sep 2019 11:22:09 +0000 (11:22 +0000)
commitc0c2096fbada36fa26778bc02b32555150050d85
tree9de2b3615f95cdac2d35ed411cacf6ef5da7075d
parent3c086f8decdc190602fb66cfec8f3cff16328142
[C++ PATCH] Reserve a decl_lang bit

https://gcc.gnu.org/ml/gcc-patches/2019-09/msg00365.html
Reserve TREE_LANG_FLAG_3 for modules.
gcc/cp/
* cp-tree.h (DECL_CONSTRUCTION_VTABLE_P): Delete.
(DECL_NON_TRIVIALLY_INITIALIZED_P): Move to TREE_LANG_FLAG_6.
* class.c (build_ctor_vtbl_group): Don't set
DECL_CONSTRUCTION_VTABLE_P.
* decl2.c (determine_visibility_from_class): Don't check
DECL_CONSTRUCTION_VTABLE_P anymore.

From-SVN: r275455
gcc/cp/ChangeLog
gcc/cp/class.c
gcc/cp/cp-tree.h
gcc/cp/decl2.c