gcc/libcpp
Ian Lance Taylor 0b4cafec04 internal.h (struct cpp_reader): Add new fields: nonexistent_file_hash and nonexistent_file_ob.
* internal.h (struct cpp_reader): Add new fields:
	nonexistent_file_hash and nonexistent_file_ob.
	* files.c: Include "obstack.h".
	(find_file_in_dir): Before trying to open the file, look up the
	path name in the hash table of nonexistent files.  After failing
	to open the file, add the path name to the hash table.
	(_cpp_find_file): Cache the results of looking up the file name
	starting with the quote and bracket chain heads, if we can.
	(nonexistent_file_hash_eq): New static function.
	(_cpp_init_files): Initialize pfile->nonexistent_file_hash and
	pfile->nonexistent_file_ob.
	(_cpp_cleanup_files): Free pfile->nonexistent_file_hash and
	pfile->nonexistent_file_ob.

From-SVN: r124929
2007-05-21 23:43:53 +00:00
..
include directives.c (lex_macro_node_from_str): New. 2007-03-30 14:12:53 -07:00
po * cpplib.pot: Regenerate. 2007-03-07 18:01:18 +00:00
ChangeLog internal.h (struct cpp_reader): Add new fields: nonexistent_file_hash and nonexistent_file_ob. 2007-05-21 23:43:53 +00:00
Makefile.in * Makefile.in: Add dummy install-pdf target. 2007-03-01 15:56:24 -08:00
aclocal.m4
charset.c re PR preprocessor/30001 (out-of-bounds access when processing empty file) 2006-12-28 18:45:48 +00:00
config.in
configure depstand.m4 (ZW_CREATE_DEPDIR): Use mkinstalldirs to make directory. 2007-01-27 19:50:38 +00:00
configure.ac configure.in (skipdirs): Don't build target-libiberty for SPU. 2006-11-21 01:35:42 +00:00
directives.c make alloca call type correct 2007-03-30 22:40:19 +00:00
errors.c cp-tree.h (cp_cpp_error), [...]): Take va_list* parameter. 2005-11-04 01:16:32 +00:00
expr.c expr.c (cpp_classify_number): Warn about dfp constant for -pedantic. 2007-05-14 23:45:40 +00:00
files.c internal.h (struct cpp_reader): Add new fields: nonexistent_file_hash and nonexistent_file_ob. 2007-05-21 23:43:53 +00:00
identifiers.c
init.c cpplib.h (enum c_lang): Add CLK_GNUCXX0X and CLK_CXX0X for experimental C++0x mode. 2006-11-01 16:27:23 +00:00
internal.h internal.h (struct cpp_reader): Add new fields: nonexistent_file_hash and nonexistent_file_ob. 2007-05-21 23:43:53 +00:00
lex.c re PR preprocessor/29966 (crash in cc1 with backtrace from free()) 2007-01-30 15:46:01 +00:00
line-map.c
macro.c re PR preprocessor/28709 (Bad diagnostic pasting tokens with ##) 2007-05-02 19:33:44 +00:00
makedepend.c
makeucnid.c
mkdeps.c re PR preprocessor/30468 (-M not fully chops dirname) 2007-01-30 15:50:00 +00:00
pch.c
symtab.c
system.h
traditional.c
ucnid.h
ucnid.tab