From: Nathan Sidwell Date: Tue, 20 Jun 2017 16:27:55 +0000 (+0000) Subject: cp-tree.h (CPTI_NELTS_IDENTIFIER): Delete. X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=1e5d2102752fbb804c68773d2afeaccebbc9d771;p=gcc.git 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 --- diff --git a/gcc/cp/ChangeLog b/gcc/cp/ChangeLog index 3ed58b260d2..5786cbaea2a 100644 --- a/gcc/cp/ChangeLog +++ b/gcc/cp/ChangeLog @@ -1,5 +1,9 @@ 2017-06-20 Nathan Sidwell + * 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 e33bda64904..6b27745b8c8 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 bb7c56f6a8d..7c3448950df 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 },