diff options
author | Jakub Jelinek <jakub@redhat.com> | 2015-12-03 00:53:43 +0100 |
---|---|---|
committer | Jakub Jelinek <jakub@gcc.gnu.org> | 2015-12-03 00:53:43 +0100 |
commit | 6eb4a537637cea8691f76bde57a4bf210489b3fd (patch) | |
tree | 0f7a15c341c498470e6d34e8e39ac7c67506448f /gcc/cgraphunit.c | |
parent | 49ed2fa42911fe38392f2667fee04df0bd1191f9 (diff) | |
download | gcc-6eb4a537637cea8691f76bde57a4bf210489b3fd.zip gcc-6eb4a537637cea8691f76bde57a4bf210489b3fd.tar.gz gcc-6eb4a537637cea8691f76bde57a4bf210489b3fd.tar.bz2 |
re PR preprocessor/57580 (Repeated _Pragma message directives in macro causes problems)
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.
From-SVN: r231213
Diffstat (limited to 'gcc/cgraphunit.c')
0 files changed, 0 insertions, 0 deletions