http://gcc.gnu.org/bugzilla/show_bug.cgi?id=52952
--- Comment #20 from Manuel López-Ibáñez <manu at gcc dot gnu.org> 2013-03-30 15:02:11 UTC --- (In reply to comment #18) > > * It would be extremely nice to update the testsuite to check the locations > > are > > correct. This is unfortunately a lot of boring work, so if I cannot get > > help to > > do this, I hope it is not a pre-condition for approval. > > You mean for existing test cases? I will help with that, just say > what/where/when ;-) I personally think that it would be better to spend our extremely limited human resources on adding more explicit locations and offsets to the various warnings and checking that they are correct. This can be done by running with my current patch the following: make check-gcc RUNTESTFLAGS='format.exp=*.c --target_board="unix/-fdiagnostics-show-caret"' and checking if the output is what one would expect. If later we regress, then we could update/add testcases.