Clean ups for error handling

Gabriel Dos Reis gdr@codesourcery.com
Thu Jul 20 23:54:00 GMT 2000


Zack Weinberg <zack@wolery.cumb.org> writes:

| On Fri, Jul 21, 2000 at 07:53:34AM +0200, Gabriel Dos Reis wrote:
| 
| > | I will change it.  And I just discovered that diagnostic_for_decl
| > | needs the same change - btw, are there any plans to get rid of that?
| > | format_with_decl is quite evil...
| > 
| > Yes!  Actually, as you may have noted, format_with_decl is just the
| > old v_message_with_decl made to use small part of the new
| > infrastructure.  In the near future, it will be removed in favor of
| > output_format.  I'm working on that.
| 
| Glad to hear that.
| 
| I need to talk to you at some point about how to make diagnostic.c
| work with the integrated preprocessor.  There's two issues: column
| numbers, and merging cpplib's idea of the current file with cc1's.

Please do, I need to be educated about cpplib's notions of location :-)

| Here is the revised patch.  May I commit it?

Yes, if it passed the bootstrap and testsuite stages.

-- Gaby
CodeSourcery, LLC                             http://www.codesourcery.com


More information about the Gcc-patches mailing list