public inbox for cgen@sourceware.org
 help / color / mirror / Atom feed
* New option to control diagnostics
@ 2009-09-09 20:44 Doug Evans
  0 siblings, 0 replies; only message in thread
From: Doug Evans @ 2009-09-09 20:44 UTC (permalink / raw)
  To: cgen

Hi.

I added a -w option to allow control of various diagnostics.

At present just "-w iformat" is supported.
It's currently off by default because the m32c port causes *lots* of warnings.

2009-09-09  Doug Evans  <dje@sebabeach.org>

	Add support for controlling warnings/errors.
	Add tests for iformat description errors.
	* dev.scm (cload): New option #:diag.
	* read.scm (<reader>): New member verify-iformat?.
	(/parse-diagnostic, parse-warning): New functions.
	(parse-error): Guts moved to /parse-diagnostic.
	(/set-diagnostic-options!): New function.
	(cpu-load): New arg diagnostic-options, all callers updated.
	Recognize -w diagnostic-option-list.
	* ifield.scm (ifields-base-ifields): Move here from iformat.scm.
	(ifld-simple-ifields, ifields-simple-ifields): New function.
	* insn.scm (/parse-insn-format-iflds): New function.
	(/parse-insn-format): Guts moved to /parse-insn-format-iflds.
	New arg isa, all callers updated.  Do some basic validation of the
	ifield list if requested.
	* mach.scm (/sanity-check-insns): Improve error message text.
	* doc/running.text: Document -w option.

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

only message in thread, other threads:[~2009-09-09 20:44 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2009-09-09 20:44 New option to control diagnostics Doug Evans

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