From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 24487 invoked by alias); 7 Aug 2003 13:52:55 -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 24467 invoked from network); 7 Aug 2003 13:52:53 -0000 Received: from unknown (HELO tiktok.the-meissners.org) (66.205.90.83) by sources.redhat.com with SMTP; 7 Aug 2003 13:52:53 -0000 Received: from tiktok.the-meissners.org (localhost [127.0.0.1]) by tiktok.the-meissners.org (8.12.8/8.12.8) with ESMTP id h77Dqqrn001239; Thu, 7 Aug 2003 09:52:52 -0400 Received: (from meissner@localhost) by tiktok.the-meissners.org (8.12.8/8.12.8/Submit) id h77DqqlI001237; Thu, 7 Aug 2003 09:52:52 -0400 Date: Thu, 07 Aug 2003 15:12:00 -0000 From: Michael Meissner To: binutils@sources.redhat.com Cc: cgen@sources.redhat.com Subject: 1 line change to silence warnings Message-ID: <20030807135252.GA1230@tiktok.the-meissners.org> Mail-Followup-To: Michael Meissner , binutils@sources.redhat.com, cgen@sources.redhat.com Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.4.1i X-SW-Source: 2003-q3/txt/msg00036.txt.bz2 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) -- Michael Meissner email: gnu@the-meissners.org http://www.the-meissners.org