From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 105225 invoked by alias); 13 Feb 2018 14:41:03 -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 105215 invoked by uid 89); 13 Feb 2018 14:41:02 -0000 Authentication-Results: sourceware.org; auth=none X-Virus-Found: No X-Spam-SWARE-Status: No, score=-2.7 required=5.0 tests=AWL,BAYES_00,RCVD_IN_DNSWL_NONE autolearn=ham version=3.3.2 spammy= X-HELO: mail-it0-f44.google.com Received: from mail-it0-f44.google.com (HELO mail-it0-f44.google.com) (209.85.214.44) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with ESMTP; Tue, 13 Feb 2018 14:41:01 +0000 Received: by mail-it0-f44.google.com with SMTP id 140so3325348iti.0 for ; Tue, 13 Feb 2018 06:41:01 -0800 (PST) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:in-reply-to:references:from:date :message-id:subject:to:cc; bh=mfIW0THskzZgXVMqagE1ocTn7g/omuUU9/AG6b7erRo=; b=LqjFtVAtw7Fzi4Ft0CmUR4BDn0bwX3F5HAwKc7RxDj7Ziocr+uhfihQF/l0uu0rlKo /R0KUn21dhtvysuNfzsAl2PfsgqqkfsN5ZwbULtc6wTqwk4fsAe7EQsLxIvyvvvsiYsB 52HRl6vf8UmRKSj8fZV5yJEpG+N2jWUXBSHL83UYgYH012msVnYaJ0hZOG3H2J9DCvzA Z2LbLPeUymjJhRGmPFwEmb8MIVmmXr0iDHJV9kVI2wH9XJ3qJxhpLVDk7DHump3Q8a7y Z62qYyHSJ297DXvcAKP5SUeUQdpzCHKXuXXR3B5VGM8c2YkvC3ZnS+KhJT8I8vOQDapx VFBA== X-Gm-Message-State: APf1xPBnADZz3AFKwDpDuODmSbsUGOASSdtfFNNpzs/d6N57wGZ5Ny4c WQm1+BO6bg52oO18l/ZFsZLkS+ZcR3cf3uvj8USugQ== X-Google-Smtp-Source: AH8x227ecbLzvQQfPrOFvkiAQEDcMQbfTefU1j4QFhdsVkbwrpAomnNE3YWbfTXKTjN4QDtJsO/TiM9gk+i9YpOfrg8= X-Received: by 10.36.83.148 with SMTP id n142mr1807339itb.10.1518532859700; Tue, 13 Feb 2018 06:40:59 -0800 (PST) MIME-Version: 1.0 Received: by 10.107.17.206 with HTTP; Tue, 13 Feb 2018 06:40:38 -0800 (PST) In-Reply-To: References: From: Jason Merrill Date: Tue, 13 Feb 2018 14:41:00 -0000 Message-ID: Subject: Re: [PATCH] diagnose specializations of deprecated templates (PR c++/84318) To: Martin Sebor Cc: Gcc Patch List Content-Type: text/plain; charset="UTF-8" X-IsSubscribed: yes X-SW-Source: 2018-02/txt/msg00728.txt.bz2 On Mon, Feb 12, 2018 at 6:32 PM, Martin Sebor wrote: > While testing my fix for 83871 (handling attributes on explicit > specializations) I noticed another old regression: while GCC 4.4 > would diagnose declarations of explicit specializations of all > primary templates declared deprecated, GCC 4.5 and later only > diagnose declarations of explicit specializations of class > templates but not those of function or variable templates. Hmm, the discussion on the core reflector seemed to be agreeing that we want to be able to define non-deprecated specializations of a deprecated primary template. Jason