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]

r175071 - in /branches/pph/gcc: ChangeLog.pph c...


Author: crowl
Date: Wed Jun 15 00:21:51 2011
New Revision: 175071

URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=175071
Log:
Save the DECL_STRUCT_FUNCTION(...) field of FUNCTION_DECL.  This change
factors common functionality with the LTO streamer.


Index: gcc/testsuite/ChangeLog.pph

2011-06-14  Lawrence Crowl <crowl@google.com>

	* g++.dg/pph/x1tmplfunc.cc: Replace ICE xfail with an assembly diff
        xfail.

Index: gcc/cp/ChangeLog.pph

2011-06-14  Lawrence Crowl <crowl@google.com>

	* pph-streamer-out.c (pph_out_struct_function): New.
	(pph_out_used_types_slot): New for pph_out_struct_function.
	(struct pph_tree_info): New for pph_out_struct_function.
	(pph_write_tree): Save DECL_STRUCT_FUNCTION of FUNCTION_DECL with
	pph_out_struct_function.
	* pph-streamer-in.c (pph_in_struct_function): New.
	(pph_read_tree): Load DECL_STRUCT_FUNCTION of FUNCTION_DECL with
	pph_in_struct_function.

Index: gcc/ChangeLog.pph

2011-06-14  Lawrence Crowl  <crowl@google.com>

	* lto-streamer.h (extern output_struct_function_base): New.
	(extern input_struct_function_base): New.
	* lto-streamer-out.c (lto_output_ts_function_decl_tree_pointers):
	Update comment.
	(output_struct_function_base): New.
	(output_function): Factor out code common with PPH into
	output_struct_function_base.
	* lto-streamer-in.c (input_struct_function_base): New.
	(input_function): Factor out common code with PPH into
	input_struct_function_base.



Modified:
    branches/pph/gcc/ChangeLog.pph
    branches/pph/gcc/cp/ChangeLog.pph
    branches/pph/gcc/cp/pph-streamer-in.c
    branches/pph/gcc/cp/pph-streamer-out.c
    branches/pph/gcc/lto-streamer-in.c
    branches/pph/gcc/lto-streamer-out.c
    branches/pph/gcc/lto-streamer.h
    branches/pph/gcc/testsuite/ChangeLog.pph
    branches/pph/gcc/testsuite/g++.dg/pph/x1tmplfunc.cc


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