PR preprocessor/48248
commit18afbc83084423f3b190b8c6844e6fe42c509ce7
authorjakub <jakub@138bc75d-0d04-0410-961f-82ee72b054a4>
Tue, 29 Mar 2011 20:25:27 +0000 (29 20:25 +0000)
committerjakub <jakub@138bc75d-0d04-0410-961f-82ee72b054a4>
Tue, 29 Mar 2011 20:25:27 +0000 (29 20:25 +0000)
tree694aa89b38234a2bb9ee479d1fa7c3bde396a87e
parent922875bc0966b8b2da696e8d44a314bbc8374400
PR preprocessor/48248
* c-ppoutput.c (print): Add src_file field.
(init_pp_output): Initialize it.
(maybe_print_line): Don't optimize by adding up to 8 newlines
if map->to_file and print.src_file are different file.
(print_line): Update print.src_file.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@171693 138bc75d-0d04-0410-961f-82ee72b054a4
gcc/ChangeLog
gcc/c-family/c-ppoutput.c