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

--- Comment #5 from Manuel López-Ibáñez <manu at gcc dot gnu.org> 2011-10-20 
09:11:42 UTC ---
(In reply to comment #4)
> 
> Agreed again. I suspect this is related to our (ab)use of the global
> input_location instead of relying on the precise location of the tokens
> we are dealing with.  So I guess it'll take some iterations to generally
> get this right, as you know already.

Indeed. I must say it is superb that the infrastructure is there already, once
this is a bit more stable, so many new things are possible. You should put a
big item in http://gcc.gnu.org/gcc-4.7/changes.html, and some announcement in
"News":

"Diagnostics in C++ have been significantly improved for 4.7: (1) The reasons
for overload and lookup failure are now detailed described (thanks to the work
of Nathan Froyd) (2) GCC is able to track macro expansions to provide more
accurate locations in diagnostics (thanks to the work of Dodji Seketeli), and
(3) Several hundreds of bugs related to diagnostics have been fixed for 4.7
(thanks to the work of Paolo Carlini and other contributors)."

Reply via email to