[Bug preprocessor/48248] [4.5 Regression] Wrong error message location when compiling preprocessed code
rguenth at gcc dot gnu.org
gcc-bugzilla@gcc.gnu.org
Tue Apr 19 09:21:00 GMT 2011
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=48248
--- Comment #10 from Richard Guenther <rguenth at gcc dot gnu.org> 2011-04-19 09:19:35 UTC ---
Author: rguenth
Date: Tue Apr 19 09:19:33 2011
New Revision: 172703
URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=172703
Log:
2011-04-19 Richard Guenther <rguenther@suse.de>
Backported from 4.6 branch
2011-03-29 Jakub Jelinek <jakub@redhat.com>
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.
2011-04-18 Richard Guenther <rguenther@suse.de>
PR preprocessor/48248
* c-ppoutput.c (maybe_print_line): Avoid changing -P behavior.
Modified:
branches/gcc-4_5-branch/gcc/ChangeLog
branches/gcc-4_5-branch/gcc/c-ppoutput.c
More information about the Gcc-bugs
mailing list