From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 78154 invoked by alias); 3 Aug 2018 15:26:06 -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 78095 invoked by uid 89); 3 Aug 2018 15:26:04 -0000 Authentication-Results: sourceware.org; auth=none X-Spam-SWARE-Status: No, score=-2.0 required=5.0 tests=AWL,BAYES_00,RCVD_IN_DNSWL_NONE,SPF_PASS,URIBL_RED autolearn=ham version=3.3.2 spammy=H*f:CAF4, H*i:CAF4, H*f:sk:VxOaKij, H*f:sk:tmoDjG6 X-HELO: relay1.mentorg.com Received: from relay1.mentorg.com (HELO relay1.mentorg.com) (192.94.38.131) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with ESMTP; Fri, 03 Aug 2018 15:26:03 +0000 Received: from nat-ies.mentorg.com ([192.94.31.2] helo=SVR-IES-MBX-03.mgc.mentorg.com) by relay1.mentorg.com with esmtps (TLSv1.2:ECDHE-RSA-AES256-SHA384:256) id 1flbxp-00001v-GG from joseph_myers@mentor.com ; Fri, 03 Aug 2018 08:26:01 -0700 Received: from digraph.polyomino.org.uk (137.202.0.87) by SVR-IES-MBX-03.mgc.mentorg.com (139.181.222.3) with Microsoft SMTP Server (TLS) id 15.0.1320.4; Fri, 3 Aug 2018 16:25:57 +0100 Received: from jsm28 (helo=localhost) by digraph.polyomino.org.uk with local-esmtp (Exim 4.86_2) (envelope-from ) id 1flbxk-0007Ql-Sq; Fri, 03 Aug 2018 15:25:56 +0000 Date: Fri, 03 Aug 2018 15:26:00 -0000 From: Joseph Myers To: Bogdan Harjoc CC: Subject: Re: [PATCH] Avoid infinite loop with duplicate anonymous union fields In-Reply-To: Message-ID: References: User-Agent: Alpine 2.20 (DEB 67 2015-01-07) MIME-Version: 1.0 Content-Type: text/plain; charset="US-ASCII" X-SW-Source: 2018-08/txt/msg00287.txt.bz2 On Wed, 1 Aug 2018, Bogdan Harjoc wrote: > > seen_error () is the idiomatic way of testing whether an error has been > > reported. > > The updated patch is attached and includes a test that passes with: > > make check-gcc RUNTESTFLAGS="dg.exp=union-duplicate-field.c" Thanks, committed. -- Joseph S. Myers joseph@codesourcery.com