This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: [PATCH] caret diagnostics
On Thu, 14 Aug 2008, Tom Tromey wrote:
> Yes, I agree, we need multiple things: accurate locations from the
> front ends (ideally macro-expansion-aware), start- and end-locations,
> better diagnostic output of various kinds, perhaps smarter location
> handling in the optimizations, and of course finally column output in
> dwarf. I hope that covers the 80% of stuff we all seem to agree on.
Regarding the list of improvements, I think most of the benefits from
caret diagnostics can be gained simply by printing accurate texts of
expressions (or declarations etc.) within the existing one-line diagnostic
messages, without needing major and incompatible stylistic changes.
--
Joseph S. Myers
joseph@codesourcery.com