public inbox for binutils@sourceware.org
 help / color / mirror / Atom feed
* Fix compile time warning in cgen generated *-asm.c files
@ 2005-04-04 10:09 Nick Clifton
  0 siblings, 0 replies; only message in thread
From: Nick Clifton @ 2005-04-04 10:09 UTC (permalink / raw)
  To: binutils

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  <nickc@redhat.com>

	* opcodes.scm (-gen-parse-address): Initialise value to zero to
	avoid a compile time warning.

opcodes/ChangeLog
2005-04-04  Nick Clifton  <nickc@redhat.com>

	* 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
  

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2005-04-04 10:09 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2005-04-04 10:09 Fix compile time warning in cgen generated *-asm.c files Nick Clifton

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).