gcc/libcpp
Tom Tromey dae4174e53 symtab.h (HT_ALLOCED): Remove.
libcpp
	* include/symtab.h (HT_ALLOCED): Remove.
	(ht_purge): Declare.
	* symtab.c (DELETED): New define.
	(ht_lookup): Update comment.
	(ht_lookup_with_hash): Handle deleted entries.  Remove HT_ALLOCED
	code.  Use subobject allocator for strings, if it exists.
	(ht_expand): Handle deleted entries.
	(ht_forall): Likewise.
	(ht_purge): New function.
	(ht_dump_statistics): Print deletion statistics.
gcc
	* ggc-zone.c (lookup_page_table_if_allocated): New function.
	(zone_find_object_offset): Likewise.
	(gt_ggc_m_S): Likewise.
	(highest_bit): Likewise.
	* ggc-page.c (gt_ggc_m_S): New function.
	* stringpool.c (string_stack): Remove.
	(init_stringpool): Update.
	(ggc_alloc_string): Use ggc_alloc.
	(maybe_delete_ident): New function.
	(ggc_purge_stringpool): Likewise.
	(gt_ggc_m_S): Remove.
	* ggc-common.c (ggc_protect_identifiers): New global.
	(ggc_mark_roots): Call ggc_purge_stringpool.  Use
	ggc_protect_identifiers.
	* ggc.h (ggc_protect_identifiers): Declare.
	(gt_ggc_m_S): Update.
	(ggc_purge_stringpool): Declare.
	* toplev.c (compile_file): Set and reset ggc_protect_identifiers.
	* gengtype.c (write_types_process_field) <TYPE_STRING>: Remove
	special case.
	(write_root): Cast gt_ggc_m_S to gt_pointer_walker.
gcc/cp
	* mangle.c (save_partially_mangled_name): Remove.
	(restore_partially_mangled_name): Likewise.
	(write_encoding): Update.
	(write_unqualified_name): Likewise.
	(start_mangling): Always use name_obstack.  Remove 'ident_p'
	argument.
	(get_identifier_nocopy): Remove.
	(finish_mangling_internal): Rename from finish_mangling.
	(finish_mangling): New function.
	(finish_mangling_get_identifier): Likewise.
	(partially_mangled_name, partially_mangled_name_len): Remove.
	(mangle_decl_string): Change return type.  Update.
	(mangle_decl, mangle_type_string, mangle_special_for_type,
	mangle_ctor_vtbl_for_type, mangle_thunk, mangle_guard_variable,
	mangle_ref_init_variable): Update.

From-SVN: r135720
2008-05-21 15:00:59 +00:00
..
include symtab.h (HT_ALLOCED): Remove. 2008-05-21 15:00:59 +00:00
po * fr.po: Update. 2008-03-28 02:07:37 +00:00
ChangeLog symtab.h (HT_ALLOCED): Remove. 2008-05-21 15:00:59 +00:00
Makefile.in Makefile.in (TAGS_SOURCES): New variable. 2008-04-16 21:10:37 +00:00
aclocal.m4 re PR other/35457 (Error building GCC trunk on CELL SPU) 2008-04-18 10:28:53 +00:00
charset.c re PR preprocessor/33415 (Can't compile .cpp file with UTF-8 BOM.) 2008-04-21 14:02:00 +00:00
config.in ( 5) 2007-12-03 21:04:47 +00:00
configure config.gcc (sparc*-*-*): Always set need_64bit_hwint to yes. 2008-05-04 04:25:04 -07:00
configure.ac config.gcc (sparc*-*-*): Always set need_64bit_hwint to yes. 2008-05-04 04:25:04 -07:00
directives-only.c directives-only.c: New file. 2007-07-30 18:29:20 +00:00
directives.c re PR preprocessor/22168 (#if #A == #B should have a diagnostic in ISO C mode) 2008-05-13 14:50:27 +00:00
errors.c re PR preprocessor/34866 (valgrind error indication in testsuite from errors.c:156:cpp_error with gcc.dg/cpp/Wmissingdirs.c) 2008-04-18 00:58:58 +00:00
expr.c re PR preprocessor/22168 (#if #A == #B should have a diagnostic in ISO C mode) 2008-05-13 14:50:27 +00:00
files.c re PR preprocessor/33415 (Can't compile .cpp file with UTF-8 BOM.) 2008-04-21 14:02:00 +00:00
identifiers.c traditional.c (lex_identifier): Use CPP_HASHNODE. 2008-02-20 02:16:43 +00:00
init.c cpp-id-data.h (UC): Was U, conflicts with U... 2008-04-18 09:58:08 -04:00
internal.h re PR preprocessor/33415 (Can't compile .cpp file with UTF-8 BOM.) 2008-04-21 14:02:00 +00:00
lex.c cpp-id-data.h (UC): Was U, conflicts with U... 2008-04-18 09:58:08 -04:00
line-map.c traditional.c (lex_identifier): Use CPP_HASHNODE. 2008-02-20 02:16:43 +00:00
macro.c cpp-id-data.h (UC): Was U, conflicts with U... 2008-04-18 09:58:08 -04: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/35458 (Dependency generation (-M) does not quote '#' in filenames) 2008-03-06 18:08:40 +00:00
pch.c Fixup whitespacing 2007-06-01 02:12:37 +00:00
symtab.c symtab.h (HT_ALLOCED): Remove. 2008-05-21 15:00:59 +00:00
system.h all files: Update FSF address in copyright headers. 2005-06-29 02:34:39 +00:00
traditional.c traditional.c (lex_identifier): Use CPP_HASHNODE. 2008-02-20 02:16:43 +00: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