gcc -save-temps emits incorrect debug info in 3.4 (breaks distcc bootstraps)

Per Bothner per@bothner.com
Fri Apr 9 21:39:00 GMT 2004


Alexandre Oliva wrote:

> Per,
> 
> Is there any reason why this bit, that made it to mainline, was
> missing in the 3.4 branch?  Without it, the initial .file directive
> refers to the .i file instead of the original .c file.

> 	* cppinit.c (cpp_read_main_file): Return file name obtained by
> 	read_original_filename.  Missed in 2004-02-04's check in to 3.4
> 	branch by Per Bothner.

No reason that I can recall.

I don't see any reason not to add it to the branch - it seems low risk.
-- 
	--Per Bothner
per@bothner.com   http://per.bothner.com/




More information about the Gcc-patches mailing list