From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 24766 invoked by alias); 4 Apr 2005 10:09:39 -0000 Mailing-List: contact binutils-help@sources.redhat.com; run by ezmlm Precedence: bulk List-Subscribe: List-Archive: List-Post: List-Help: , Sender: binutils-owner@sources.redhat.com Received: (qmail 24428 invoked from network); 4 Apr 2005 10:09:28 -0000 Received: from unknown (HELO mx1.redhat.com) (66.187.233.31) by sourceware.org with SMTP; 4 Apr 2005 10:09:28 -0000 Received: from int-mx1.corp.redhat.com (int-mx1.corp.redhat.com [172.16.52.254]) by mx1.redhat.com (8.12.11/8.12.11) with ESMTP id j34A9RpL010127 for ; Mon, 4 Apr 2005 06:09:27 -0400 Received: from pobox.surrey.redhat.com (pobox.surrey.redhat.com [172.16.10.17]) by int-mx1.corp.redhat.com (8.11.6/8.11.6) with ESMTP id j34A9RO06821 for ; Mon, 4 Apr 2005 06:09:27 -0400 Received: from localhost.localdomain.redhat.com (vpnuser4.surrey.redhat.com [172.16.9.4]) by pobox.surrey.redhat.com (8.12.8/8.12.8) with ESMTP id j34A9PpH028268 for ; Mon, 4 Apr 2005 11:09:26 +0100 To: binutils@sources.redhat.com Subject: Fix compile time warning in cgen generated *-asm.c files From: Nick Clifton Date: Mon, 04 Apr 2005 10:09:00 -0000 Message-ID: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-SW-Source: 2005-04/txt/msg00062.txt.bz2 Hi Guys, Alan pointed out that I had made a mistake in the opcodes directory, checking in a patch to the iq2000-asm.c file to fix a compile time warning without fixing the cgen file which was used to generate the iq2000-asm.c file. Doh. So I am checking in the patch below to rectify this mistake. Cheers Nick cgen/ChangeLog 2005-04-04 Nick Clifton * opcodes.scm (-gen-parse-address): Initialise value to zero to avoid a compile time warning. opcodes/ChangeLog 2005-04-04 Nick Clifton * fr30-asm.c: Regenerate. * frv-asm.c: Regenerate. * iq2000-asm.c: Regenerate. * m32r-asm.c: Regenerate. * openrisc-asm.c: Regenerate. Index: cgen/opcodes.scm =================================================================== RCS file: /cvs/src/src/cgen/opcodes.scm,v retrieving revision 1.10 diff -c -3 -p -r1.10 opcodes.scm *** cgen/opcodes.scm 23 Feb 2005 16:04:38 -0000 1.10 --- cgen/opcodes.scm 4 Apr 2005 09:09:37 -0000 *************** *** 355,361 **** (define (-gen-parse-address parse-fn op-enum result-var-name) (string-append " {\n" ! " bfd_vma value;\n" " errmsg = " ; Use operand's special parse function if there is one. (or parse-fn --- 355,361 ---- (define (-gen-parse-address parse-fn op-enum result-var-name) (string-append " {\n" ! " bfd_vma value = 0;\n" " errmsg = " ; Use operand's special parse function if there is one. (or parse-fn