From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 123376 invoked by alias); 15 Sep 2017 09:53:52 -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 123361 invoked by uid 89); 15 Sep 2017 09:53:52 -0000 Authentication-Results: sourceware.org; auth=none X-Virus-Found: No X-Spam-SWARE-Status: No, score=-0.9 required=5.0 tests=BAYES_00,KAM_LAZY_DOMAIN_SECURITY,RP_MATCHES_RCVD autolearn=no version=3.3.2 spammy=gently X-HELO: userp1040.oracle.com Received: from userp1040.oracle.com (HELO userp1040.oracle.com) (156.151.31.81) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with ESMTP; Fri, 15 Sep 2017 09:53:51 +0000 Received: from aserv0021.oracle.com (aserv0021.oracle.com [141.146.126.233]) by userp1040.oracle.com (Sentrion-MTA-4.3.2/Sentrion-MTA-4.3.2) with ESMTP id v8F9rm31023514 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK); Fri, 15 Sep 2017 09:53:48 GMT Received: from aserv0121.oracle.com (aserv0121.oracle.com [141.146.126.235]) by aserv0021.oracle.com (8.14.4/8.14.4) with ESMTP id v8F9rlkE021300 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK); Fri, 15 Sep 2017 09:53:48 GMT Received: from ubhmp0003.oracle.com (ubhmp0003.oracle.com [156.151.24.56]) by aserv0121.oracle.com (8.14.4/8.13.8) with ESMTP id v8F9rl8k026578; Fri, 15 Sep 2017 09:53:47 GMT Received: from [192.168.1.4] (/95.247.210.5) by default (Oracle Beehive Gateway v4.0) with ESMTP ; Fri, 15 Sep 2017 09:53:47 +0000 Subject: [C++ Patch Ping] PR 64644 (""warning: anonymous union with no members" should be an error with -pedantic-errors") To: "gcc-patches@gcc.gnu.org" Cc: Jason Merrill References: <6eeb9ea6-4b55-99be-06d4-aa141df2f9f2@oracle.com> From: Paolo Carlini Message-ID: Date: Fri, 15 Sep 2017 09:53:00 -0000 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:52.0) Gecko/20100101 Thunderbird/52.1.0 MIME-Version: 1.0 In-Reply-To: <6eeb9ea6-4b55-99be-06d4-aa141df2f9f2@oracle.com> Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 7bit X-IsSubscribed: yes X-SW-Source: 2017-09/txt/msg00975.txt.bz2 Hi, gently pinging this. On 16/06/2017 15:47, Paolo Carlini wrote: > Hi, > > submitter and Manuel analyzed this a while ago and came to the > conclusion - which I think is still valid vs the current working draft > - that strictly speaking this kind of code violates [dcl.dcl], thus a > pedwarn seems more suited than a plain warning. The below one-liner, > suggested by Manuel at the time, passes testing on x86_64-linux > together with my testsuite changes. https://gcc.gnu.org/ml/gcc-patches/2017-06/msg01193.html Thanks! Paolo.