On 10 May 2012 07:55, Miles Bader <mi...@gnu.org> wrote: > Paolo Carlini <paolo.carl...@oracle.com> writes: >> in case my message ends up garbled, the carets do not point to && >> (column 13), two times point to b (column 20), which is obviously >> wrong. In other terms, all the columns are 20, all wrong. > > The new caret support does seem to have revealed a bunch of places > where the column info in error messages was pretty screwy... I guess > nobody paid much attention to it before... :] > > Should these get reported as bugzilla bugs...?
In principle, yes. In practice, there are already so many known issues that adding more would just waste contributors time doing bugzilla administration. So help would very much appreciated. In particular, the C FE and the preprocessor are in much worse shape in terms of locations than the C++ FE. Some issues may be hard but many of them are a matter of setting a breakpoint at the error, going up the frame, and figuring out where the correct location could be got from. Then passing it down to the error so it can use the correct location. If you can figure out that but can't/won't write a patch, then please open a PR. Cheers, Manuel.