From 97f6bd406c546b1669a4231a12b62df236af2188 Mon Sep 17 00:00:00 2001 From: Tom Tromey Date: Thu, 6 Dec 2007 18:56:26 +0000 Subject: 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) : Changed type. : 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 --- libcpp/ChangeLog | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) (limited to 'libcpp/ChangeLog') diff --git a/libcpp/ChangeLog b/libcpp/ChangeLog index b64bfa9..1cc5d7f 100644 --- a/libcpp/ChangeLog +++ b/libcpp/ChangeLog @@ -1,3 +1,20 @@ +2007-12-06 Tom Tromey + + PR c/29172: + * internal.h (struct cpp_reader) : Changed + type. + : 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. + 2007-12-03 Tom Tromey PR preprocessor/34288: -- cgit v1.1