c-ppoutput.c
17.1 KB
-
re PR preprocessor/41445 (Debug information is wrong with and without --save-temps.) · 21ece9b2
PR preprocessor/41445 * c-ppoutput.c (do_line_change): New function. (cb_line_change): Use it. (scan_translation_unit): Call do_line_change if avoid_paste or PREV_WHITE and token location is on a different line than print.src_line. * gcc.dg/cpp/separate-1.c: Adjust. * gcc.dg/cpp/spacing1.c: Add -P to dg-options. * gcc.dg/debug/dwarf2/pr41445-1.c: New test. * gcc.dg/debug/dwarf2/pr41445-2.c: New test. * gcc.dg/debug/dwarf2/pr41445-3.c: New test. * gcc.dg/debug/dwarf2/pr41445-4.c: New test. * gcc.dg/debug/dwarf2/pr41445-5.c: New test. * gcc.dg/debug/dwarf2/pr41445-6.c: New test. From-SVN: r152599
Jakub Jelinek committed