* c-ppoutput.c (print_line): Print internal line 0 as 1.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@105408
138bc75d-0d04-0410-961f-
82ee72b054a4
+2005-10-14 Per Bothner <per@bothner.com>
+
+ PR preprocessor/21250
+ * c-ppoutput.c (print_line): Print internal line 0 as 1.
+
2005-10-14 Nathan Sidwell <nathan@codesourcery.com>
PR c++/22551
p = cpp_quote_string (to_file_quoted,
(unsigned char *) map->to_file, to_file_len);
*p = '\0';
- fprintf (print.outf, "# %u \"%s\"%s", print.src_line,
+ fprintf (print.outf, "# %u \"%s\"%s",
+ print.src_line == 0 ? 1 : print.src_line,
to_file_quoted, special_flags);
if (map->sysp == 2)