From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 88572 invoked by alias); 20 Jun 2017 16:29:45 -0000 Mailing-List: contact gcc-patches-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-patches-owner@gcc.gnu.org Received: (qmail 88563 invoked by uid 89); 20 Jun 2017 16:29:45 -0000 Authentication-Results: sourceware.org; auth=none X-Virus-Found: No X-Spam-SWARE-Status: No, score=-16.1 required=5.0 tests=BAYES_00,FREEMAIL_FROM,GIT_PATCH_1,GIT_PATCH_2,GIT_PATCH_3,KAM_ASCII_DIVIDERS,RCVD_IN_DNSWL_NONE,SPF_PASS autolearn=ham version=3.3.2 spammy=39827 X-HELO: mail-yb0-f170.google.com Received: from mail-yb0-f170.google.com (HELO mail-yb0-f170.google.com) (209.85.213.170) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with ESMTP; Tue, 20 Jun 2017 16:29:43 +0000 Received: by mail-yb0-f170.google.com with SMTP id f192so38942104yba.2 for ; Tue, 20 Jun 2017 09:29:43 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:sender:to:from:subject:message-id:date :user-agent:mime-version:content-language; bh=wU7ewcWz5hmP9oDWYc/nP+3KTGiRizk3REHnjYEewag=; b=sdRcGFXF4R/5Y8LXjItiwLZ8xbBGjrPvLQp8B29dNvWRVsdxOtwT1I60mYICf76FGP 5hKKPg2pjoU8ZZSkXkZfaOkGaiKu+knIhCk/eI9GEdNxjc88PLv9zwVBfeUu1IM46sei QIZFbBP9PJm82W3Gz7UIw4jj4RCv9T+TJwaKtuwHgiHeAIilh/IgfnlpfnU/tgvvOX7H ZQ5bHt2Pw0uRn9bqxkFHpSnOa7b2RAoYutOn9Wpp9CF2Jv1PCpp4NJICsruPiYQXaLLM wLN8iaGN98L1A9NfR9RZ9Kltn74d7Hg8RCh1FXn8naXeSFUqEK9HZQ1YOk3xmTS91f2N /Dqw== X-Gm-Message-State: AKS2vOwt3hd/cleI7NQRXgnTdEgWxC17yO33i6Dej86WDJISqoUdoRKY OMfM5gH1L9EH4Q== X-Received: by 10.37.172.209 with SMTP id x17mr14538100ybd.1.1497976181928; Tue, 20 Jun 2017 09:29:41 -0700 (PDT) Received: from ?IPv6:2620:10d:c0a3:20fb:7500:e7fb:4a6f:2254? ([2620:10d:c091:200::3:ee74]) by smtp.googlemail.com with ESMTPSA id w72sm4704048ywa.70.2017.06.20.09.29.41 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Tue, 20 Jun 2017 09:29:41 -0700 (PDT) To: GCC Patches From: Nathan Sidwell Subject: [C++ PATCH] remove unused identifier Message-ID: <2f6b428b-9140-d008-b1a9-7ab58ba06d28@acm.org> Date: Tue, 20 Jun 2017 16:29:00 -0000 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:52.0) Gecko/20100101 Thunderbird/52.1.0 MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="------------73981DC194662BFCC3A4BDF7" X-SW-Source: 2017-06/txt/msg01488.txt.bz2 This is a multi-part message in MIME format. --------------73981DC194662BFCC3A4BDF7 Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 7bit Content-length: 142 'nelts' was a suspiciously gnu user space identifier to have. Turns out we don't use it anywhere. so killed ... nathan -- Nathan Sidwell --------------73981DC194662BFCC3A4BDF7 Content-Type: text/x-patch; name="elt.diff" Content-Transfer-Encoding: 7bit Content-Disposition: attachment; filename="elt.diff" Content-length: 1623 2017-06-20 Nathan Sidwell * cp-tree.h (CPTI_NELTS_IDENTIFIER): Delete. (nelts_identifier): Delete. * decl.c (initialize_predefined_identifiers): Remove nelts. Index: cp-tree.h =================================================================== --- cp-tree.h (revision 249418) +++ cp-tree.h (working copy) @@ -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 /* 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] Index: decl.c =================================================================== --- decl.c (revision 249418) +++ decl.c (working copy) @@ -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 }, --------------73981DC194662BFCC3A4BDF7--