r256843 - in /branches/c++-modules: ChangeLog.m...
nathan@gcc.gnu.org
nathan@gcc.gnu.org
Thu Jan 18 11:56:00 GMT 2018
Author: nathan
Date: Thu Jan 18 11:56:45 2018
New Revision: 256843
URL: https://gcc.gnu.org/viewcvs?rev=256843&root=gcc&view=rev
Log:
Merge access & discriminator.
gcc/cp/
* cp-tree.h (struct lang_decl_base): Rename u2sel to spare.
(struct lang_decl_min): Replace lang_decl_u2 union with plain
tree.
(LANG_DECL_U2_CHECK): Delete.
(DECL_DISCRIMINATOR_SET_P, DECL_DISCRIMINATOR): Adjust.
(DECL_CAPTURED_VARIABLE, DECL_ACCESS, THUNK_VIRTUAL_OFFSET): Adjust.
* decl.c (push_local_name): Represent discriminator as INTEGER_CST.
(duplicate_decls): Copy DECL_ACCESS. fix formatting.
* mangle.c (discriminator_for_local_entity): Extract integer value.
* module.c (cpms_{in,out},lang_decl_bools): Drop u.base.u2sel.
(cpms_{in,out}::lang_decl_vals): Drop u.min.u2 handling.
* semantics.c (finish_omp_threadprivate): Drop u.base.u2sel copying.
Modified:
branches/c++-modules/ChangeLog.modules
branches/c++-modules/gcc/cp/cp-tree.h
branches/c++-modules/gcc/cp/decl.c
branches/c++-modules/gcc/cp/mangle.c
branches/c++-modules/gcc/cp/module.c
branches/c++-modules/gcc/cp/semantics.c
More information about the Gcc-cvs
mailing list