From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 70641 invoked by alias); 30 Apr 2015 06:58:57 -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 70627 invoked by uid 89); 30 Apr 2015 06:58:56 -0000 Authentication-Results: sourceware.org; auth=none X-Virus-Found: No X-Spam-SWARE-Status: No, score=-1.5 required=5.0 tests=AWL,BAYES_00,KAM_LAZY_DOMAIN_SECURITY,RCVD_IN_DNSWL_LOW autolearn=no version=3.3.2 X-HELO: mail-out.m-online.net Received: from mail-out.m-online.net (HELO mail-out.m-online.net) (212.18.0.9) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with (CAMELLIA256-SHA encrypted) ESMTPS; Thu, 30 Apr 2015 06:58:55 +0000 Received: from frontend01.mail.m-online.net (unknown [192.168.8.182]) by mail-out.m-online.net (Postfix) with ESMTP id 3lcncX4KCWz3hkLk; Thu, 30 Apr 2015 08:58:52 +0200 (CEST) Received: from localhost (dynscan1.mnet-online.de [192.168.6.68]) by mail.m-online.net (Postfix) with ESMTP id 3lcncX3fbFzvjDX; Thu, 30 Apr 2015 08:58:52 +0200 (CEST) Received: from mail.mnet-online.de ([192.168.8.182]) by localhost (dynscan1.mail.m-online.net [192.168.6.68]) (amavisd-new, port 10024) with ESMTP id 6toKlR-Oiz5G; Thu, 30 Apr 2015 08:58:51 +0200 (CEST) X-Auth-Info: 9vK7PvAp6B3PFSZ1Tj5KYeteGmUCfzUFM1zsCK+g4FmxSrCNwt8s0LDFFBmvLDBI Received: from igel.home (ppp-93-104-94-204.dynamic.mnet-online.de [93.104.94.204]) by mail.mnet-online.de (Postfix) with ESMTPA; Thu, 30 Apr 2015 08:58:51 +0200 (CEST) Received: by igel.home (Postfix, from userid 1000) id 921EA2C00B2; Thu, 30 Apr 2015 08:58:51 +0200 (CEST) From: Andreas Schwab To: gcc-patches@gcc.gnu.org Cc: richard.sandiford@arm.com Subject: Re: Mostly rewrite genrecog References: <87egn5yis1.fsf@e105548-lin.cambridge.arm.com> X-Yow: Now I'm having INSIPID THOUGHTS about the beautiful, round wives of HOLLYWOOD MOVIE MOGULS encased in PLEXIGLASS CARS and being approached by SMALL BOYS selling FRUIT.. Date: Thu, 30 Apr 2015 07:17:00 -0000 In-Reply-To: <87egn5yis1.fsf@e105548-lin.cambridge.arm.com> (Richard Sandiford's message of "Mon, 27 Apr 2015 11:20:30 +0100") Message-ID: <87iocehzkk.fsf@igel.home> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.5 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain X-SW-Source: 2015-04/txt/msg01970.txt.bz2 Richard Sandiford writes: > /* Represents a test and the action that should be taken on the result. > If a transition exists for the test outcome, the machine switches > to the transition's target state. If no suitable transition exists, > the machine either falls through to the next decision or, if there are no > more decisions to try, fails the match. */ > struct decision : list_head > { > decision (const test &); > > void set_parent (list_head *s); > bool if_statement_p (uint64_t * = 0) const; > > /* The state to which this decision belongs. */ > state *s; > > /* Links to other decisions in the same state. */ > decision *prev, *next; > > /* The test to perform. */ > struct test test; > }; ../../gcc/genrecog.c:1467: error: declaration of 'test decision::test' ../../gcc/genrecog.c:1051: error: changes meaning of 'test' from 'struct test' Bootstrap compiler is gcc 4.3.4. Andreas. -- Andreas Schwab, schwab@linux-m68k.org GPG Key fingerprint = 58CA 54C7 6D53 942B 1756 01D3 44D5 214B 8276 4ED5 "And now for something completely different."