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]

r138432 - in /trunk: gcc/testsuite/ChangeLog gc...


Author: jakub
Date: Thu Jul 31 19:12:14 2008
New Revision: 138432

URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=138432
Log:
	PR preprocessor/36649
	* files.c (struct report_missing_guard_data): New type.
	(report_missing_guard): Put paths into an array instead of printing
	them right away.  Return 1 rather than 0.
	(report_missing_guard_cmp): New function.
	(_cpp_report_missing_guards): Sort and print paths gathered by
	report_missing_guard callback.

	* gcc.dg/pch/cpp-3.hs: Add include guards.
	* gcc.dg/pch/cpp-3a.h: Likewise.
	* gcc.dg/pch/cpp-3b.h: Likewise.
	* gcc.dg/cpp/mi8.c: New test.
	* gcc.dg/cpp/mi8a.h: New file.
	* gcc.dg/cpp/mi8b.h: New file.
	* gcc.dg/cpp/mi8c.h: New file.
	* gcc.dg/cpp/mi8d.h: New file.

Added:
    trunk/gcc/testsuite/gcc.dg/cpp/mi8.c
    trunk/gcc/testsuite/gcc.dg/cpp/mi8a.h
    trunk/gcc/testsuite/gcc.dg/cpp/mi8b.h
    trunk/gcc/testsuite/gcc.dg/cpp/mi8c.h
    trunk/gcc/testsuite/gcc.dg/cpp/mi8d.h
Modified:
    trunk/gcc/testsuite/ChangeLog
    trunk/gcc/testsuite/gcc.dg/pch/cpp-3.hs
    trunk/gcc/testsuite/gcc.dg/pch/cpp-3a.h
    trunk/gcc/testsuite/gcc.dg/pch/cpp-3b.h
    trunk/libcpp/ChangeLog
    trunk/libcpp/files.c


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