This is the mail archive of the
mailing list for the GCC project.
Re: gcc compile-time performance
- From: dewar at gnat dot com (Robert Dewar)
- To: Hilfinger at cs dot berkeley dot edu, akim at epita dot fr
- Cc: dewar at gnat dot com, gcc at gcc dot gnu dot org, haberg at matematik dot su dot se,help-bison at gnu dot org
- Date: Mon, 20 May 2002 20:47:37 -0400 (EDT)
- Subject: Re: gcc compile-time performance
<<GNAT's real advantage, in fact, is not so much in good error RECOVERY,
as in good error DIAGNOSIS: its messages are MUCH better than the
usual GCC standard. Panic-mode error recovery is never going to give
As an example of error recovery in GNAT, it goes to great ends to try to
survive missing, extra, or malformed enders. It uses all sorts of clues,
including indentation of the source to guess the intended structure and
an interesting criterion which it meets is that none of the ACVC tests
get confused, and none of them need splitting because of such errors.
(you have to split an ACVC test if you generate junk extra errors in
an error test or if you miss an error).