gcc/libcpp
Jakub Jelinek affa55c67f re PR preprocessor/36649 (-H option doesn't work as expected)
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.

From-SVN: r138432
2008-07-31 21:12:14 +02:00
..
include line-map.h (linenum_type): New typedef. 2008-07-21 09:33:38 +00:00
po
aclocal.m4
ChangeLog re PR preprocessor/36649 (-H option doesn't work as expected) 2008-07-31 21:12:14 +02:00
charset.c
config.in
configure
configure.ac
directives-only.c line-map.h (linenum_type): New typedef. 2008-07-21 09:33:38 +00:00
directives.c re PR preprocessor/28079 (#line range not verified without -pedantic) 2008-07-22 09:45:58 +00:00
errors.c line-map.h (linenum_type): New typedef. 2008-07-21 09:33:38 +00:00
expr.c
files.c re PR preprocessor/36649 (-H option doesn't work as expected) 2008-07-31 21:12:14 +02:00
identifiers.c
init.c
internal.h line-map.h (linenum_type): New typedef. 2008-07-21 09:33:38 +00:00
lex.c line-map.h (linenum_type): New typedef. 2008-07-21 09:33:38 +00:00
line-map.c line-map.h (linenum_type): New typedef. 2008-07-21 09:33:38 +00:00
macro.c line-map.h (linenum_type): New typedef. 2008-07-21 09:33:38 +00:00
makedepend.c
Makefile.in
makeucnid.c
mkdeps.c
pch.c
symtab.c
system.h
traditional.c line-map.h (linenum_type): New typedef. 2008-07-21 09:33:38 +00:00
ucnid.h
ucnid.tab