From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 21352 invoked by alias); 18 Aug 2014 20:05:49 -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 21342 invoked by uid 89); 18 Aug 2014 20:05:48 -0000 Authentication-Results: sourceware.org; auth=none X-Virus-Found: No X-Spam-SWARE-Status: No, score=-2.5 required=5.0 tests=AWL,BAYES_00,RP_MATCHES_RCVD,SPF_HELO_PASS autolearn=ham version=3.3.2 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 (AES256-GCM-SHA384 encrypted) ESMTPS; Mon, 18 Aug 2014 20:05:47 +0000 Received: from int-mx11.intmail.prod.int.phx2.redhat.com (int-mx11.intmail.prod.int.phx2.redhat.com [10.5.11.24]) by mx1.redhat.com (8.14.4/8.14.4) with ESMTP id s7IK5hSj008777 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK) for ; Mon, 18 Aug 2014 16:05:46 -0400 Received: from [10.3.225.89] (vpn-225-89.phx2.redhat.com [10.3.225.89]) by int-mx11.intmail.prod.int.phx2.redhat.com (8.14.4/8.14.4) with ESMTP id s7IK5hNe011445; Mon, 18 Aug 2014 16:05:43 -0400 Message-ID: <1408392155.2473.52.camel@surprise> Subject: Re: [PATCH 006/236] Introduce rtx_insn subclass of rtx_def From: David Malcolm To: Jeff Law Cc: gcc-patches@gcc.gnu.org Date: Mon, 18 Aug 2014 20:05:00 -0000 In-Reply-To: <53EA81CE.7040901@redhat.com> References: <1407345815-14551-1-git-send-email-dmalcolm@redhat.com> <1407345815-14551-7-git-send-email-dmalcolm@redhat.com> <53EA81CE.7040901@redhat.com> Content-Type: text/plain; charset="UTF-8" Mime-Version: 1.0 Content-Transfer-Encoding: 7bit X-IsSubscribed: yes X-SW-Source: 2014-08/txt/msg01793.txt.bz2 On Tue, 2014-08-12 at 15:06 -0600, Jeff Law wrote: > On 08/06/14 11:19, David Malcolm wrote: > > gcc/ > > * coretypes.h (class rtx_insn): Add forward declaration. > > > > * rtl.h: Include is-a.h > > (struct rtx_def): Add dummy "desc" and "tag" GTY options as a > > workaround to ensure gengtype knows inheritance is occurring, > > whilst continuing to use the pre-existing special-casing for > > rtx_def. > > (class rtx_insn): New subclass of rtx_def, adding the > > invariant that we're dealing with something we can sanely use INSN_UID, > > NEXT_INSN, PREV_INSN on. > > (is_a_helper ::test): New. > > (is_a_helper ::test): New. > OK. > Jeff Thanks; committed to trunk as r214118 (fixing up the overlong ChangeLog line, having bootstrapped®tested on x86_64 together with patches 2-8 of the kit as per: https://gcc.gnu.org/ml/gcc-patches/2014-08/msg01420.html and verified build by itself).