public inbox for cgen@sourceware.org
 help / color / mirror / Atom feed
* insufficient error handling
@ 2000-09-15  8:41 Ben Elliston
  0 siblings, 0 replies; only message in thread
From: Ben Elliston @ 2000-09-15  8:41 UTC (permalink / raw)
  To: cgen

I'm not sure how to go about fixing this without spending lots of time
investigating.  If someone can point me in the right direction, I'm
willing to try and fix this bug myself.

When parsing a .cpu file, an invalid semantic body like:

     (foo (sub op1 op2))

where `foo' is not a known pmacro and is obviously not a valid rtx, I
get:

     ERROR: assertion failure: (rtx? rtx)

It would be nice if the error message told me that `foo' is not a
valid rtx.

Ben

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

only message in thread, other threads:[~2000-09-15  8:41 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2000-09-15  8:41 insufficient error handling Ben Elliston

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