public inbox for cgen@sourceware.org
 help / color / mirror / Atom feed
* 1 line change to silence warnings
@ 2003-08-07 15:12 Michael Meissner
  2003-08-07 16:09 ` Doug Evans
                   ` (2 more replies)
  0 siblings, 3 replies; 5+ messages in thread
From: Michael Meissner @ 2003-08-07 15:12 UTC (permalink / raw)
  To: binutils; +Cc: cgen

This change fully initalizes the last record of each CGEN_OPINST array,
silencing many warnings.  Ok to apply?

2003-08-06  Michael Meissner  <gnu@the-meissners.org>

	* 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

^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2003-08-09  0:48 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2003-08-07 15:12 1 line change to silence warnings Michael Meissner
2003-08-07 16:09 ` Doug Evans
2003-08-08  8:11 ` Doug Evans
2003-08-08  8:16 ` Nick Clifton
2003-08-09 14:13   ` Michael Meissner

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).