https://gcc.gnu.org/bugzilla/show_bug.cgi?id=57580
--- Comment #7 from Jakub Jelinek <jakub at gcc dot gnu.org> --- Author: jakub Date: Wed Dec 2 23:53:43 2015 New Revision: 231213 URL: https://gcc.gnu.org/viewcvs?rev=231213&root=gcc&view=rev Log: PR preprocessor/57580 * c-ppoutput.c (print): Change printed field to bool. Move src_file last for smaller padding. (init_pp_output): Set print.printed to false instead of 0. (scan_translation_unit): Fix up formatting. Set print.printed to true after printing something other than newline. (scan_translation_unit_trad): Set print.printed to true instead of 1. (maybe_print_line_1): Set print.printed to false instead of 0. (print_line_1): Likewise. (do_line_change): Set print.printed to true instead of 1. (cb_define, dump_queued_macros, cb_include, cb_def_pragma, dump_macro): Set print.printed to false after printing newline. * c-c++-common/cpp/pr57580.c: New test. * c-c++-common/gomp/pr57580.c: New test. Added: trunk/gcc/testsuite/c-c++-common/cpp/pr57580.c trunk/gcc/testsuite/c-c++-common/gomp/pr57580.c Modified: trunk/gcc/c-family/ChangeLog trunk/gcc/c-family/c-ppoutput.c trunk/gcc/testsuite/ChangeLog