From patchwork Thu Jan 11 16:56:22 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Nathan Sidwell X-Patchwork-Id: 859202 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Authentication-Results: ozlabs.org; spf=pass (mailfrom) smtp.mailfrom=gcc.gnu.org (client-ip=209.132.180.131; helo=sourceware.org; envelope-from=gcc-patches-return-470853-incoming=patchwork.ozlabs.org@gcc.gnu.org; receiver=) Authentication-Results: ozlabs.org; dkim=pass (1024-bit key; unprotected) header.d=gcc.gnu.org header.i=@gcc.gnu.org header.b="in4vNcAW"; dkim-atps=neutral Received: from sourceware.org (server1.sourceware.org [209.132.180.131]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ozlabs.org (Postfix) with ESMTPS id 3zHX8m0hjJz9s8J for ; Fri, 12 Jan 2018 03:56:39 +1100 (AEDT) DomainKey-Signature: a=rsa-sha1; c=nofws; d=gcc.gnu.org; h=list-id :list-unsubscribe:list-archive:list-post:list-help:sender:to :from:subject:message-id:date:mime-version:content-type; q=dns; s=default; b=tqBriDejI8s0MKfgn16SzMnL+p9X7L5Uqk4LRjDxdhmYdeqrmC 7TOvNcYCf23zXEX5sQfLWJ5xV/S0Noa2rG4itfvmQ0d0/ectBoo+qhvG+63jlpCy h2Ke7TnRbhxIQHCk1EdOSs8UqA1k9D1T7Vwn83njN8a9s1JYBPT9mYihw= DKIM-Signature: v=1; a=rsa-sha1; c=relaxed; d=gcc.gnu.org; h=list-id :list-unsubscribe:list-archive:list-post:list-help:sender:to :from:subject:message-id:date:mime-version:content-type; s= default; bh=q7m2PFJkVEaiTDPuMdHGsDv2Bdg=; b=in4vNcAW6KxbU2YZmS8y tWvEBuOt/47dZtxCpe/XrEOXW+mClvXhsAIn1j3A/xTUdbcMP6Adtxal7wTJ5MHq spIbu6qTHXCoglfehAfv0Ypdm8cUroV0w/qK1qe+m9/PzFFFs6sOXCK1fW4ET8XO +ba9T1zIhdxeVbFYNgyZBeI= Received: (qmail 116495 invoked by alias); 11 Jan 2018 16:56:29 -0000 Mailing-List: contact gcc-patches-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Unsubscribe: List-Archive: List-Post: List-Help: Sender: gcc-patches-owner@gcc.gnu.org Delivered-To: mailing list gcc-patches@gcc.gnu.org Received: (qmail 116401 invoked by uid 89); 11 Jan 2018 16:56:28 -0000 Authentication-Results: sourceware.org; auth=none X-Virus-Found: No X-Spam-SWARE-Status: No, score=-11.9 required=5.0 tests=BAYES_00, FREEMAIL_FROM, GIT_PATCH_2, GIT_PATCH_3, RCVD_IN_DNSWL_NONE, SPF_PASS autolearn=ham version=3.3.2 spammy= X-HELO: mail-yw0-f181.google.com Received: from mail-yw0-f181.google.com (HELO mail-yw0-f181.google.com) (209.85.161.181) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with ESMTP; Thu, 11 Jan 2018 16:56:27 +0000 Received: by mail-yw0-f181.google.com with SMTP id u21so1284201ywc.2 for ; Thu, 11 Jan 2018 08:56:26 -0800 (PST) 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=uBke8oU/6fkVRvRVykqVSmZj07n8qOVEzz2VY9dSUU0=; b=Gm2T5eDmSqH/0k9rQMK4vUU+Wq3OLVC5dDzBS8yedfxinXBuraljBq9Qx7tvbKL3/l lb9gejn5N3ZI4L6zwx64jIToHEyYLUglBmP42/h0rL+KYAqCRmfxRLf37Jphh/B0HLM+ j07ipV9prribGtd4ff+xmqZtcNkt/xo+PMfkL3i+5tCOIf3wmhbneXqOAZVtcoRlD/6V Qtv3sKL2UmtZf/zKBGAmRrWP6MN54PWDxNzOtP9ayKILR4vYSP8xZ0kXx+oTQF3mVDU3 +L6ouGuiOyvHf9FsSDBEW/beHL8un7L6GTUvE6P2yd6HDYIWhjvf8J4KArFd26JsVmCj gS8g== X-Gm-Message-State: AKGB3mJZONYcjldBDt2TXCR3UN6ONYLkyXmWgYQ5HMijhbbGqjiTJbgc 3gl6NvuKUtLLttOWqydYD3U= X-Google-Smtp-Source: ACJfBovg3+LR3d1pX86GlL2f7nopzjIF+ndgJ29M8N5KJ8zWdXhcgYVJf0O5sw7KeWj4VGPll3yGfQ== X-Received: by 10.129.174.10 with SMTP id m10mr10678719ywh.219.1515689785093; Thu, 11 Jan 2018 08:56:25 -0800 (PST) Received: from ?IPv6:2620:10d:c0a3:20fb:7500:e7fb:4a6f:2254? ([2620:10d:c091:200::2:3141]) by smtp.googlemail.com with ESMTPSA id c123sm1459349ywa.37.2018.01.11.08.56.24 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Thu, 11 Jan 2018 08:56:24 -0800 (PST) To: GCC Patches From: Nathan Sidwell Subject: [C++ PATCH] kill unused enum Message-ID: <3a467097-8afc-e7d6-a0f1-e741c39f15bc@acm.org> Date: Thu, 11 Jan 2018 11:56:22 -0500 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:52.0) Gecko/20100101 Thunderbird/52.5.2 MIME-Version: 1.0 I noticed this enum, it must have been dead for a long while! nathan 2018-01-11 Nathan Sidwell * method.c (enum mangling_flags): Delete long-dead enum. Index: method.c =================================================================== --- method.c (revision 256541) +++ method.c (working copy) @@ -32,22 +32,6 @@ along with GCC; see the file COPYING3. #include "toplev.h" #include "common/common-target.h" -/* Various flags to control the mangling process. */ - -enum mangling_flags -{ - /* No flags. */ - mf_none = 0, - /* The thing we are presently mangling is part of a template type, - rather than a fully instantiated type. Therefore, we may see - complex expressions where we would normally expect to see a - simple integer constant. */ - mf_maybe_uninstantiated = 1, - /* When mangling a numeric value, use the form `_XX_' (instead of - just `XX') if the value has more than one digit. */ - mf_use_underscores_around_value = 2 -}; - static void do_build_copy_assign (tree); static void do_build_copy_constructor (tree); static tree make_alias_for_thunk (tree);