summaryrefslogtreecommitdiff
path: root/libcpp/internal.h
diff options
context:
space:
mode:
authorAndris Pavenis <pavenis@latnet.lv>2004-07-16 20:07:01 +0300
committerZack Weinberg <zack@gcc.gnu.org>2004-07-16 17:07:01 +0000
commita23ee064e26afca80e24ccc9036ef01f54b1f377 (patch)
tree731f455afa7023a8116cc6a957e079da9a2f3e35 /libcpp/internal.h
parent043fdfc83e4f2e5d2b355df7ee722fd118c97e5c (diff)
downloadgcc-a23ee064e26afca80e24ccc9036ef01f54b1f377.tar.gz
re PR preprocessor/16366 (Preprocessor option -remap causes memory corruption)
2004-07-16 Andris Pavenis <pavenis@latnet.lv> PR preprocessor/16366 * internal.h (struct cpp_reader): New field dir_hash. * files.c (make_cpp_dir): Use dir_hash, not file_hash. (_cpp_init_files, _cpp_cleanup_files): Update for new field. From-SVN: r84821
Diffstat (limited to 'libcpp/internal.h')
-rw-r--r--libcpp/internal.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/libcpp/internal.h b/libcpp/internal.h
index 845f1ebdf08..0a7eb109187 100644
--- a/libcpp/internal.h
+++ b/libcpp/internal.h
@@ -334,6 +334,7 @@ struct cpp_reader
/* File and directory hash table. */
struct htab *file_hash;
+ struct htab *dir_hash;
struct file_hash_entry *file_hash_entries;
unsigned int file_hash_entries_allocated, file_hash_entries_used;