r128823 - in /branches/incremental-compiler/gcc...
tromey@gcc.gnu.org
tromey@gcc.gnu.org
Wed Sep 26 18:34:00 GMT 2007
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
More information about the Gcc-cvs
mailing list