From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 51575 invoked by alias); 7 Oct 2016 12:22:23 -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 51561 invoked by uid 89); 7 Oct 2016 12:22:22 -0000 Authentication-Results: sourceware.org; auth=none X-Virus-Found: No X-Spam-SWARE-Status: No, score=-4.6 required=5.0 tests=BAYES_00,RP_MATCHES_RCVD,SPF_HELO_PASS autolearn=ham version=3.3.2 spammy=H*M:ab75 X-HELO: mx1.redhat.com Received: from mx1.redhat.com (HELO mx1.redhat.com) (209.132.183.28) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with ESMTP; Fri, 07 Oct 2016 12:22:21 +0000 Received: from int-mx14.intmail.prod.int.phx2.redhat.com (int-mx14.intmail.prod.int.phx2.redhat.com [10.5.11.27]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mx1.redhat.com (Postfix) with ESMTPS id 10442C05A295; Fri, 7 Oct 2016 12:22:20 +0000 (UTC) Received: from localhost.localdomain (vpn1-7-173.ams2.redhat.com [10.36.7.173]) by int-mx14.intmail.prod.int.phx2.redhat.com (8.14.4/8.14.4) with ESMTP id u97CMIgm005483; Fri, 7 Oct 2016 08:22:19 -0400 Subject: Re: C, C++: Fix PR 69733 (bad location for ignored qualifiers warning) To: Jeff Law , Joseph Myers References: <571A2697.4050208@t-online.de> <572A128B.4060800@redhat.com> <5493b5ce-7956-9619-0329-06cc30c81f25@redhat.com> <4878b1a4-bdfc-fbd8-95a3-c154aaa5785c@redhat.com> Cc: GCC Patches , Jason Merrill From: Bernd Schmidt Message-ID: <1352540c-fa6c-ab75-4af5-7232c716fe0b@redhat.com> Date: Fri, 07 Oct 2016 12:22:00 -0000 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:45.0) Gecko/20100101 Thunderbird/45.2.0 MIME-Version: 1.0 In-Reply-To: <4878b1a4-bdfc-fbd8-95a3-c154aaa5785c@redhat.com> Content-Type: text/plain; charset=windows-1252; format=flowed Content-Transfer-Encoding: 7bit X-IsSubscribed: yes X-SW-Source: 2016-10/txt/msg00480.txt.bz2 On 07/21/2016 08:39 PM, Jeff Law wrote: > On 07/15/2016 07:04 AM, Bernd Schmidt wrote: >> c/ >> PR c++/69733 >> * c-decl.c (smallest_type_quals_location): New static function. >> (grokdeclarator): Try to find the correct location for an ignored >> qualifier. >> cp/ >> PR c++/69733 >> * decl.c (grokdeclarator): Try to find the correct location for an >> ignored qualifier. >> testsuite/ >> PR c++/69733 >> * c-c++-common/pr69733.c: New test. >> * gcc.dg/pr69733.c: New test. >> * gcc.target/i386/pr69733.c: New test. > Yes, this version is OK too. It fell through the cracks for a while - now committed. Bernd