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
ChangeLog re PR c/29172 (--combine can't handle #pragma once) 2007-12-06 18:56:26 +00:00
Makefile.in directives-only.c: New file. 2007-07-30 18:29:20 +00: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 ( 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-only.c: New file. 2007-07-30 18:29:20 +00:00
directives.c re PR preprocessor/30786 (ICE on _Pragma at end of file) 2007-10-31 14:50:13 +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 (interpret_float_suffix): Support hr, r, lr, llr, uhr, ur, ulr, ullr, hk, k, lk, llk, uhk, uk, ulk, ullk. 2007-08-30 23:05:17 +00:00
files.c re PR c/29172 (--combine can't handle #pragma once) 2007-12-06 18:56:26 +00:00
identifiers.c all files: Update FSF address in copyright headers. 2005-06-29 02:34:39 +00:00
init.c tree-cfg.c (remove_bb): Only warn if line is non-zero. 2007-09-06 16:24:05 +00:00
internal.h re PR c/29172 (--combine can't handle #pragma once) 2007-12-06 18:56:26 +00:00
lex.c re PR preprocessor/14331 (please add option to suppress warning message "no newline at end of file") 2007-05-31 02:06:48 +00:00
line-map.c tree-cfg.c (remove_bb): Only warn if line is non-zero. 2007-09-06 16:24:05 +00:00
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 all files: Update FSF address in copyright headers. 2005-06-29 02:34:39 +00:00
makeucnid.c all files: Update FSF address in copyright headers. 2005-06-29 02:34:39 +00:00
mkdeps.c re PR preprocessor/30468 (-M not fully chops dirname) 2007-01-30 15:50:00 +00:00
pch.c Fixup whitespacing 2007-06-01 02:12:37 +00:00
symtab.c all files: Update FSF address in copyright headers. 2005-06-29 02:34:39 +00:00
system.h all files: Update FSF address in copyright headers. 2005-06-29 02:34:39 +00:00
traditional.c traditional.c (_cpp_scan_out_logical_line): Initialize fmacro.args... 2007-07-04 12:08:44 +02:00
ucnid.h all files: Update FSF address in copyright headers. 2005-06-29 02:34:39 +00:00
ucnid.tab all files: Update FSF address in copyright headers. 2005-06-29 02:34:39 +00:00