http://gcc.gnu.org/bugzilla/show_bug.cgi?id=24985
Manuel López-Ibáñez <manu at gcc dot gnu.org> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |jason at gcc dot gnu.org --- Comment #16 from Manuel López-Ibáñez <manu at gcc dot gnu.org> 2012-04-04 15:26:50 UTC --- @Jason, This is my current patch. It directly opens the file a looks for the line. I see several improvements that could be made, like handling very long lines in a smarter way, a cache of already opened files, and moving all this code to libcpp (or even better to a separate liblinemap library). But there are improvements that could be done post-commit. This patch bootstraps for languages=all,ada with both the default set to off and on, and regression tested with the default set to off, because I couldn't find a good way to tell DejaGNU to always use -fno-diagnostics-show-caret. Does anyone know the correct way to do this? This is the only missing piece. If it looks ok to you, I will write a changelog and submit it to gcc-patches.