gcc/libcpp/include
Joseph Myers 47580d22b2 re PR preprocessor/15638 (gcc should have option to treat missing headers as fatal)
PR preprocessor/15638
gcc:
	* c-common.c (c_cpp_error): Handle CPP_DL_FATAL.

gcc/fortran:
	* cpp.c (cb_cpp_error): Handle CPP_DL_FATAL.

gcc/testsuite:
	* gcc.dg/cpp/missing-header-1.c: New test.
	* gcc.dg/cpp/include2.c: Only test #include <>.  Expect
	"compilation terminated" message.
	* gcc.dg/cpp/include2a.c: New test.  Copy of include2.c but only
	test #include "".
	* gcc.dg/pch/counter-2.c, gcc.dg/pch/valid-1.c,
	gcc.dg/pch/valid-2.c, gcc.dg/pch/warn-1.c: Expect "compilation
	terminated" message.

libcpp:
	* files.c (_cpp_find_file): Call open_file_failed after diagnosing
	invalid PCH.
	(open_file_failed): Make error for missing file fatal.
	* include/cpplib.h (CPP_DL_FATAL): Define.

From-SVN: r145341
2009-03-31 13:43:29 +01:00
..
cpp-id-data.h cpp-id-data.h (UC): Was U, conflicts with U... 2008-04-18 09:58:08 -04:00
cpplib.h re PR preprocessor/15638 (gcc should have option to treat missing headers as fatal) 2009-03-31 13:43:29 +01:00
line-map.h re PR preprocessor/34695 (Preprocessor warning->error conversion from -Werror is silent) 2009-03-29 23:56:07 +01:00
mkdeps.h all files: Update FSF address in copyright headers. 2005-06-29 02:34:39 +00:00
symtab.h symtab.h (HT_ALLOCED): Remove. 2008-05-21 15:00:59 +00:00