From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 28868 invoked by alias); 21 Mar 2017 22:37:22 -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 28814 invoked by uid 89); 21 Mar 2017 22:37:22 -0000 Authentication-Results: sourceware.org; auth=none X-Virus-Found: No X-Spam-SWARE-Status: No, score=-2.8 required=5.0 tests=AWL,BAYES_00,FREEMAIL_FROM,RCVD_IN_DNSWL_NONE,SPF_PASS autolearn=ham version=3.3.2 spammy= X-HELO: mail-qt0-f177.google.com Received: from mail-qt0-f177.google.com (HELO mail-qt0-f177.google.com) (209.85.216.177) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with ESMTP; Tue, 21 Mar 2017 22:37:20 +0000 Received: by mail-qt0-f177.google.com with SMTP id i34so142520420qtc.0 for ; Tue, 21 Mar 2017 15:37:21 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:subject:to:references:cc:from:message-id:date :user-agent:mime-version:in-reply-to:content-transfer-encoding; bh=YLIDAJ4TYhFytiSNVDPcCtaf/ea9CFpX1f9DoPa5tnQ=; b=k9LmQngwQbzsblLo6jeSL57ZIXAVtbcvUwazruaeO29av1AgAMZi8/HcULBzgl0hGR LH7GbKFwlOdWzfVdxPGJk3ftBtu83JrRtX1+k0qG2hkDGyPGsITjEP5SvdAJmPcEQKnL aDzQ6+8Su/cl4LlOpftFY4KmhayeNyJi0n+2+bmOSwFLV8t1JquXXXyxlvpTtjadNZw+ 1U4gwV1QY0rd8H2ZaAJxBv7MuvHKj5KN6CUeuCiCfEf8WX/rHCLyVmufEGrjsAaOWl7a yORkNbqbgB8Aodb/bqLd/z1KLQnIcq9heWpFwnUUwdW3I3ANjMrZoA2cSlbiLLXHwUa6 4odg== X-Gm-Message-State: AFeK/H0/qCJ5E+210Vw5DYnK2+NA6Df7Yga8JFzav2xbDnBf8lPtQ4GdIo4HKYXc4bvKpQ== X-Received: by 10.237.32.70 with SMTP id 64mr16116566qta.146.1490135839762; Tue, 21 Mar 2017 15:37:19 -0700 (PDT) Received: from localhost.localdomain (97-118-178-40.hlrn.qwest.net. [97.118.178.40]) by smtp.gmail.com with ESMTPSA id k5sm15766605qtb.12.2017.03.21.15.37.18 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Tue, 21 Mar 2017 15:37:19 -0700 (PDT) Subject: Re: [PATCH] restore -Wunused-variable on a typedef'd variable in a function template (PR 79548) To: Jason Merrill References: <28dd4f25-b208-52af-af1e-7bc5e36db557@gmail.com> <2c85e43f-d1dc-a74e-4d5b-c00fca8588d3@redhat.com> <066019c5-c85e-8d26-102e-aeba34988416@gmail.com> <0a4c97ac-fe30-2e3e-6694-9a3f9dbdf90c@gmail.com> <00eb2a46-a8e8-7744-a093-7eaad8c42e36@gmail.com> <32433606-776d-b579-81ce-e891ccc98a21@gmail.com> Cc: Gcc Patch List From: Martin Sebor Message-ID: <506a8021-e743-be76-ae96-0488a36f2fce@gmail.com> Date: Tue, 21 Mar 2017 22:37:00 -0000 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:45.0) Gecko/20100101 Thunderbird/45.7.0 MIME-Version: 1.0 In-Reply-To: Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 7bit X-IsSubscribed: yes X-SW-Source: 2017-03/txt/msg01141.txt.bz2 >> I'm not 100% sure I understand what changes you're suggesting >> but the attached patch does what I think you're after. Is that >> what you had in mind? > > Looks good. Thanks. I just committed it to trunk but forgot to ask for approval to backport it to 6 and 5. Martin