This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: Speaking of DWARF-2 macro info


Neil Booth wrote:-

> The first /dev/null is so that re-compiling preprocessed output can get
> the original source file from the first line [the .i -> .c translation].

You may remember my asking you (and maybe others) about this around 8
months ago.  The only reason we need to do this is for the debug code in
GCC - it insists on having to know the name of the main input file before
anything else (note how, when I cleaned up toplev.c initialization,
debug info is about the last subsystem to be initialized, because it
needs to wait for this information right until CPP starts preprocessing].
If you can avoid this, then we can change CPP to not have to output the
initial line marker.

Neil.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]