diff options
author | Nathan Sidwell <nathan@acm.org> | 2017-06-20 16:27:55 +0000 |
---|---|---|
committer | Nathan Sidwell <nathan@gcc.gnu.org> | 2017-06-20 16:27:55 +0000 |
commit | 1e5d2102752fbb804c68773d2afeaccebbc9d771 (patch) | |
tree | 719a95acde9901844027c2dbc1b479b8feba560b | |
parent | 3263979465c221478c70d28dcec2de39f994437b (diff) | |
download | gcc-1e5d2102752fbb804c68773d2afeaccebbc9d771.zip gcc-1e5d2102752fbb804c68773d2afeaccebbc9d771.tar.gz gcc-1e5d2102752fbb804c68773d2afeaccebbc9d771.tar.bz2 |
cp-tree.h (CPTI_NELTS_IDENTIFIER): Delete.
* cp-tree.h (CPTI_NELTS_IDENTIFIER): Delete.
(nelts_identifier): Delete.
* decl.c (initialize_predefined_identifiers): Remove nelts.
From-SVN: r249419
-rw-r--r-- | gcc/cp/ChangeLog | 4 | ||||
-rw-r--r-- | gcc/cp/cp-tree.h | 2 | ||||
-rw-r--r-- | gcc/cp/decl.c | 1 |
3 files changed, 4 insertions, 3 deletions
diff --git a/gcc/cp/ChangeLog b/gcc/cp/ChangeLog index 3ed58b2..5786cba 100644 --- a/gcc/cp/ChangeLog +++ b/gcc/cp/ChangeLog @@ -1,5 +1,9 @@ 2017-06-20 Nathan Sidwell <nathan@acm.org> + * cp-tree.h (CPTI_NELTS_IDENTIFIER): Delete. + (nelts_identifier): Delete. + * decl.c (initialize_predefined_identifiers): Remove nelts. + PR c++/67074 - namespace aliases * decl.c (duplicate_decls): Don't error here on mismatched namespace alias. diff --git a/gcc/cp/cp-tree.h b/gcc/cp/cp-tree.h index e33bda6..6b27745 100644 --- a/gcc/cp/cp-tree.h +++ b/gcc/cp/cp-tree.h @@ -136,7 +136,6 @@ enum cp_tree_index CPTI_DELTA_IDENTIFIER, CPTI_IN_CHARGE_IDENTIFIER, CPTI_VTT_PARM_IDENTIFIER, - CPTI_NELTS_IDENTIFIER, CPTI_THIS_IDENTIFIER, CPTI_PFN_IDENTIFIER, CPTI_VPTR_IDENTIFIER, @@ -234,7 +233,6 @@ extern GTY(()) tree cp_global_trees[CPTI_MAX]; /* The name of the parameter that contains a pointer to the VTT to use for this subobject constructor or destructor. */ #define vtt_parm_identifier cp_global_trees[CPTI_VTT_PARM_IDENTIFIER] -#define nelts_identifier cp_global_trees[CPTI_NELTS_IDENTIFIER] #define this_identifier cp_global_trees[CPTI_THIS_IDENTIFIER] #define pfn_identifier cp_global_trees[CPTI_PFN_IDENTIFIER] #define vptr_identifier cp_global_trees[CPTI_VPTR_IDENTIFIER] diff --git a/gcc/cp/decl.c b/gcc/cp/decl.c index bb7c56f..7c34489 100644 --- a/gcc/cp/decl.c +++ b/gcc/cp/decl.c @@ -3982,7 +3982,6 @@ initialize_predefined_identifiers (void) { "__base_dtor ", &base_dtor_identifier, 1 }, { "__deleting_dtor ", &deleting_dtor_identifier, 1 }, { IN_CHARGE_NAME, &in_charge_identifier, 0 }, - { "nelts", &nelts_identifier, 0 }, { THIS_NAME, &this_identifier, 0 }, { VTABLE_DELTA_NAME, &delta_identifier, 0 }, { VTABLE_PFN_NAME, &pfn_identifier, 0 }, |