This is the mail archive of the gcc-cvs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

r132311 - in /branches/incremental-compiler/gcc...


Author: tromey
Date: Thu Feb 14 03:28:58 2008
New Revision: 132311

URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=132311
Log:
	* c-parser.c: Include pointer-set.h.
	(c_parser) <smash_map>: Removed.
	(global_smash_map): New global.
	(struct mark_one_hunk_binding_info): Define.
	(mark_one_hunk_binding): Change argument types.  Use
	htab_clear_slot.
	(c_parser_mark_hunk_set): Update.
	(struct smash_value): Define.
	(struct smash_entry) <value>: Change type.
	(c_parser_find_binding): Update.
	(hash_c_tree_map_entry): New function.
	(eq_c_tree_map_entry): Likewise.
	(copy_to_pointer_map): Likewise.
	(c_parser_create_smash_map): Likewise.
	(c_parser_note_smash): Track canonical definition.
	(c_parse_file): Create global_smash_map.
	* c-common.h: Update comment.
	* c-gimplify.c (c_gimplify_expr) <CALL_EXPR, FDESC_EXPR,
	ADDR_EXPR>: Remove cases.
	<VIEW_CONVERT_EXPR>: Handle C_SMASHED_P.
	* c-typeck.c (build_component_ref): Set C_SMASHED_P.
	(build_indirect_ref): Likewise.
	(build_array_ref): Likewise.
	(build_external_ref): Likewise.
	(build_function_call): Likewise.
	(wrap_pointer_int_sum): Likewise.
	(readonly_error): Remove VIEW_CONVERT_EXPRs.
	* c-decl.c: Include server.h, pointer-set.h.
	(c_decl_re_bind): Don't hand off decls.
	(merge_decls): Don't call cgraph_finalize_function.
	(duplicate_decls): Copy C_FIRST_DEFINITION_P.
	(clone_underlying_type): Update comment.
	(start_decl): Set C_FIRST_DEFINITION_P.
	(finish_decl): Don't call rest_of_decl_compilation for file-scope
	decls.
	(finish_struct): Likewise.
	(start_struct): Set C_FIRST_DEFINITION_P.
	(start_enum): Likewise.
	(finish_enum): Don't call rest_of_type_compilation for file-scope
	type.
	(start_function): Set C_FIRST_DEFINITION_P.
	(finish_function): Don't call cgraph_finalize_function.
	(c_merge_decls): New function.
	(get_smashed_type): Likewise.
	(c_smash_decls): Likewise.
	(rewrite_types_and_globals): Likewise.
	(hand_off_decls): Likewise.
	(c_write_global_declarations_1): Change argument type.
	(c_write_global_declarations_2): Likewise.
	(lowering_smash_map): New global.
	(c_write_global_declarations): Call c_smash_decls.
	* c-tree.h (c_parser_create_smash_map, c_merge_decls): Declare.
	(C_FIRST_DEFINITION_P): New macro.
	(C_SMASHED_P): Likewise.
	(struct c_tree_map_entry): Define.
	* cgraphunit.c (cgraph_analyze_functions): Handle case where child
	is also deleted.
	* cgraph.h (cgraph_note_duplicate, cgraph_canonical_decl):
	Remove.
	* cgraph.c (duplicate_map): Remove.
	(cgraph_reset): Update.
	(cgraph_canonical_decl): Remove.
	(cgraph_note_duplicate): Remove.
	* cgraphbuild.c (record_reference): Don't call
	cgraph_canonical_decl.

Modified:
    branches/incremental-compiler/gcc/ChangeLog
    branches/incremental-compiler/gcc/c-common.h
    branches/incremental-compiler/gcc/c-decl.c
    branches/incremental-compiler/gcc/c-gimplify.c
    branches/incremental-compiler/gcc/c-parser.c
    branches/incremental-compiler/gcc/c-tree.h
    branches/incremental-compiler/gcc/c-typeck.c
    branches/incremental-compiler/gcc/cgraph.c
    branches/incremental-compiler/gcc/cgraph.h
    branches/incremental-compiler/gcc/cgraphbuild.c
    branches/incremental-compiler/gcc/cgraphunit.c


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]