gcc/libcpp
Tom Tromey 97f6bd406c re PR c/29172 (--combine can't handle #pragma once)
gcc
	PR c/29172:
	* c-opts.c (c_common_parse_file): Call cpp_clear_file_cache.
libcpp
	PR c/29172:
	* internal.h (struct cpp_reader) <file_hash_entries>: Changed
	type.
	<file_hash_entries_allocated, file_hash_entries_used>: Removed.
	* files.c (FILE_HASH_POOL_SIZE): New macro.
	(struct file_hash_entry_pool): New.
	(destroy_all_cpp_files): New function.
	(allocate_file_hash_entries): Allocate a file_hash_entry_pool.
	(new_file_hash_entry): Update.
	(free_file_hash_entries): New function.
	(_cpp_cleanup_files): Call free_file_hash_entries and
	destroy_all_cpp_files.
	(cpp_clear_file_cache): New function.
	* include/cpplib.h (cpp_clear_file_cache): Declare.

From-SVN: r130656
2007-12-06 18:56:26 +00:00
..
include re PR c/29172 (--combine can't handle #pragma once) 2007-12-06 18:56:26 +00:00
po * vi.po: Update. 2007-12-05 01:48:45 +00:00
aclocal.m4
ChangeLog re PR c/29172 (--combine can't handle #pragma once) 2007-12-06 18:56:26 +00:00
charset.c
config.in ( 5) 2007-12-03 21:04:47 +00:00
configure ( 5) 2007-12-03 21:04:47 +00:00
configure.ac ( 5) 2007-12-03 21:04:47 +00:00
directives-only.c
directives.c re PR preprocessor/30786 (ICE on _Pragma at end of file) 2007-10-31 14:50:13 +00:00
errors.c
expr.c
files.c re PR c/29172 (--combine can't handle #pragma once) 2007-12-06 18:56:26 +00:00
identifiers.c
init.c
internal.h re PR c/29172 (--combine can't handle #pragma once) 2007-12-06 18:56:26 +00:00
lex.c
line-map.c
macro.c re PR preprocessor/32868 (Don't warn about redefinitions of __STDC_FORMAT_MACROS) 2007-11-30 18:24:01 +00:00
makedepend.c
Makefile.in
makeucnid.c
mkdeps.c
pch.c
symtab.c
system.h
traditional.c
ucnid.h
ucnid.tab