This is the mail archive of the
gcc-cvs@gcc.gnu.org
mailing list for the GCC project.
r139354 - in /branches/lto/gcc: ChangeLog.lto l...
- From: maddox at gcc dot gnu dot org
- To: gcc-cvs at gcc dot gnu dot org
- Date: Wed, 20 Aug 2008 22:43:35 -0000
- Subject: r139354 - in /branches/lto/gcc: ChangeLog.lto l...
Author: maddox
Date: Wed Aug 20 22:43:34 2008
New Revision: 139354
URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=139354
Log:
gcc:
* lto-tree-flags.def: Stream private_flag for
PARM_DECL and RESULT_DECL.
* lto-function-out.c (output_type): Use debug token
"fields" for unions as well as records.
* lto-function-in.c (typedef tree_ptr): New.
Also, declared vec.h-style vector of same.
(global_vector_enter): Added need_fixups parameter,
and code to mark vector entry for backpatching.
(global_vector_fixup): Implement backpatching of
references to the replaced vector entry. Add comments.
Call ggc_free on the replaced node.
(input_field_decl, input_function_decl, input_var_decl,
input_parm_decl, input_result_decl, input_type_decl,
input_namespace_decl, input_translation_unit_decl,
input_binfo, input_type): Use new API for reading
backpatchable fields.
(input_type): Use debug token "fields" for unions
as well as records.
(input_tree_operand): Assert if reference is resolved
to a backpatchable node without providing a location
to backpatch. Add comment. Allow for backpatching
of operands of TREE_VEC, TREE_LIST, and various
expression operators.
(input_tree): Added slot parameter, providing location
to backpatch. Added code to register this location
for backpatching if needed.
(input_type_tree): Made static.
* lto-tree-in.h (input_tree): Added slot parameter
to function prototype.
gcc/lto:
* lto.c (lto_read_decls): Provide dummy argument to input_tree
to conform to its new signature.
* lto-symtab.c (lto_symtab_merge_decl): Do not invoke ggc_free
on discarded node here, now called in global_vector_fixup
Modified:
branches/lto/gcc/ChangeLog.lto
branches/lto/gcc/lto-function-in.c
branches/lto/gcc/lto-function-out.c
branches/lto/gcc/lto-tree-flags.def
branches/lto/gcc/lto-tree-in.h
branches/lto/gcc/lto/ChangeLog
branches/lto/gcc/lto/lto-symtab.c
branches/lto/gcc/lto/lto.c