From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 4215 invoked by alias); 7 Aug 2003 15:12:47 -0000 Mailing-List: contact cgen-help@sources.redhat.com; run by ezmlm Precedence: bulk List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cgen-owner@sources.redhat.com Received: (qmail 4208 invoked from network); 7 Aug 2003 15:12:46 -0000 Received: from unknown (HELO neon-gw.transmeta.com) (63.209.4.196) by sources.redhat.com with SMTP; 7 Aug 2003 15:12:46 -0000 Received: (from root@localhost) by neon-gw.transmeta.com (8.9.3/8.9.3) id IAA17709; Thu, 7 Aug 2003 08:12:37 -0700 Received: from mailhost.transmeta.com(10.1.1.15) by neon-gw.transmeta.com via smap (V2.1) id xma017696; Thu, 7 Aug 03 08:12:14 -0700 Received: from casey.transmeta.com (casey.transmeta.com [10.10.25.22]) by deepthought.transmeta.com (8.11.6/8.11.6) with ESMTP id h77FCG304562; Thu, 7 Aug 2003 08:12:16 -0700 (PDT) Received: (from dje@localhost) by casey.transmeta.com (8.9.3/8.7.3) id IAA26142; Thu, 7 Aug 2003 08:12:16 -0700 From: Doug Evans MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Message-ID: <16178.27728.313661.584964@casey.transmeta.com> Date: Thu, 07 Aug 2003 16:09:00 -0000 To: Michael Meissner Cc: cgen@sources.redhat.com cc: nickc@redhat.com Subject: 1 line change to silence warnings In-Reply-To: <20030807135252.GA1230@tiktok.the-meissners.org> References: <20030807135252.GA1230@tiktok.the-meissners.org> X-SW-Source: 2003-q3/txt/msg00037.txt.bz2 Michael Meissner writes: > This change fully initalizes the last record of each CGEN_OPINST array, > silencing many warnings. Ok to apply? > > 2003-08-06 Michael Meissner > > * opc-opinst.scm (-gen-operand-instance-table): Initialize all of > the elements for the END record of CGEN_OPINST, silencing > warnings. > > *** cgen/opc-opinst.scm.~1.3.~ 2003-05-15 03:25:02.000000000 -0400 > --- cgen/opc-opinst.scm 2003-08-06 16:38:08.000000000 -0400 > *************** > *** 54,60 **** > ins) > (string-map (lambda (op) (-gen-operand-instance op "OUTPUT")) > outs) > ! " { END }\n};\n\n"))) > ) > > (define (-gen-operand-instance-tables) > --- 54,60 ---- > ins) > (string-map (lambda (op) (-gen-operand-instance op "OUTPUT")) > outs) > ! " { END, (const char *)0, (enum cgen_hw_type)0, (enum cgen_mode)0, (enum cgen_operand_type)0, 0, 0 }\n};\n\n"))) > ) > > (define (-gen-operand-instance-tables) Blech, ain't life grand. Changes to cgen/* files go to this list not binutils. This is approved and will go in shortly.