On Sun, Aug 21, 2011 at 04:51:54AM -0300, Alexandre Oliva wrote: > On Jul 16, 2011, Dodji Seketeli <do...@redhat.com> wrote: > > > This patch adds -fdebug-cpp option. When used with -E this dumps the > > relevant macro map before every single token. This clutters the output > > a lot but has proved to be invaluable in tracking some bugs during the > > development of the virtual location support. > > Any way to read that back in while compiling a preprocessed file, so > that ccache et al can use this flag to get the same location information > that would have been gotten without separate preprocessing?
For ccache and friends I think it would be better to have a preprocessing mode that would output all lines as is (i.e. no macro replacement), except for processing #include/#include_next directives. Jakub