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]

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


Author: tromey
Date: Wed Sep 26 18:34:13 2007
New Revision: 128823

URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=128823
Log:
	* c-parser.c (c_parser_note_smash): Call cgraph_note_duplicate.
	* c-decl.c (c_builtin_function): Put builtins in all_c_built_ins.
	* cgraphunit.c (verify_cgraph_node): Use
	cgraph_get_callee_fndecl.
	* cgraph.c (duplicate_map): New global.
	(cgraph_reset): Destroy duplicate_map.
	(cgraph_canonical_decl): New function.
	(cgraph_note_duplicate): Likewise.
	(cgraph_get_callee_fndecl): Likewise.
	* cgraphbuild.c (record_reference): Use cgraph_canonical_decl.
	(build_cgraph_edges): Use cgraph_get_callee_fndecl.
	(rebuild_cgraph_edges): Likewise.
	* cgraph.h (cgraph_canonical_decl, cgraph_note_duplicate,
	cgraph_get_callee_fndecl): Declare.

Modified:
    branches/incremental-compiler/gcc/ChangeLog
    branches/incremental-compiler/gcc/c-decl.c
    branches/incremental-compiler/gcc/c-parser.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]