This is the mail archive of the gcc-cvs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

r152599 - in /trunk/gcc: ChangeLog c-ppoutput.c...


Author: jakub
Date: Fri Oct  9 19:55:34 2009
New Revision: 152599

URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=152599
Log:
	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.

Added:
    trunk/gcc/testsuite/gcc.dg/debug/dwarf2/pr41445-1.c
    trunk/gcc/testsuite/gcc.dg/debug/dwarf2/pr41445-2.c
    trunk/gcc/testsuite/gcc.dg/debug/dwarf2/pr41445-3.c
    trunk/gcc/testsuite/gcc.dg/debug/dwarf2/pr41445-4.c
    trunk/gcc/testsuite/gcc.dg/debug/dwarf2/pr41445-5.c
    trunk/gcc/testsuite/gcc.dg/debug/dwarf2/pr41445-6.c
Modified:
    trunk/gcc/ChangeLog
    trunk/gcc/c-ppoutput.c
    trunk/gcc/testsuite/ChangeLog
    trunk/gcc/testsuite/gcc.dg/cpp/separate-1.c
    trunk/gcc/testsuite/gcc.dg/cpp/spacing1.c


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]