http://gcc.gnu.org/bugzilla/show_bug.cgi?id=24985

--- Comment #30 from Manuel López-Ibáñez <manu at gcc dot gnu.org> 2012-04-11 
09:52:26 UTC ---
So we have caret diagnostics in GCC 4.8! :-) :-) :-)

In any case, I am leaving this open. There are some improvements that I still
would like to make before 4.8.0, and surely there will be some bugs found. 

If you have specific improvements/bugs that you will love to see
implemented/fixed, please add them as blockers of this PR.

A few things I am NOT going to work on, but it would be great if someone
implemented them:

* Caching of file buffers: Since we often reopen+seek on the same file, a cache
of recently opened files would (probably) speed up things. However, I guess
that the OS has such cache, because at least in GNU/Linux, it feels fast
enough. So, I am not 100% sure how much this will save versus how much overhead
it will add.

* Handling wide chars, tabs, etc, according to GNU Coding Standards. There are
some bugs in libcpp about this, so those would need to be fixed first.

* Fixing DejaGNU so we can parse the caret lines conveniently. Fixing this will
also fix other long-standing testsuite bugs.

* Start/end location pairs for expressions so we can print a single expression
(or a range) instead of the whole source line. See A.1 and A.4 in
http://gcc.gnu.org/wiki/Better_Diagnostics


@Paolo,

I don't see any reason why your patch replacing %qE with %qT cannot go in now.

@Dodji

If -ftrack-macro-expansion becomes the default in 4.8, this will be an awesome
release!

Reply via email to