r148084 - in /branches/lto/gcc: ChangeLog.lto l...

dnovillo@gcc.gnu.org dnovillo@gcc.gnu.org
Tue Jun 2 12:46:00 GMT 2009


Author: dnovillo
Date: Tue Jun  2 12:46:22 2009
New Revision: 148084

URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=148084
Log:

	* tree.c (free_lang_data_in_decl): Do not clear
	DECL_CONTEXT for FUNCTION_DECLs.
	* lto-function-out.c (output_function): Do not expect
	DECL_CONTEXT to be NULL.
	(output_function_decl): Emit DECL_CONTEXT.
	* lto-function-in.c (input_function): Do not clear
	DECL_CONTEXT.
	(input_function_decl): Read DECL_CONTEXT.
	* lto-cgraph.c (input_cgraph): Tolerate extra cgraph
	nodes created by cgraph_node while reading the call
	graph.


lto/ChangeLog

	* lto.c (lto_1_to_1_map): Ignore nodes that have not been
	read in.
	(materialize_cgraph): Only materialize nodes that have a
	representation on file.



Modified:
    branches/lto/gcc/ChangeLog.lto
    branches/lto/gcc/lto-cgraph.c
    branches/lto/gcc/lto-function-in.c
    branches/lto/gcc/lto-function-out.c
    branches/lto/gcc/lto/ChangeLog
    branches/lto/gcc/lto/lto.c
    branches/lto/gcc/tree.c



More information about the Gcc-cvs mailing list