Go to file
Diego Novillo 47c79d563b Makefile.in (lto-compress.o): Add dependency on LTO_STREAMER_H.
* Makefile.in (lto-compress.o): Add dependency on LTO_STREAMER_H.
	(cgraph.o): Likewise.
	(cgraphunit.o): Likewise.
	* cgraphunit.c: Include lto-streamer.h
	(cgraph_finalize_compilation_unit): Call lto_streamer_hooks_init
	if LTO is enabled.
	* lto-streamer-in.c (unpack_value_fields): Call
	streamer_hooks.unpack_value_fields if set.
	(lto_materialize_tree): For unhandled nodes, first try to
	call lto_streamer_hooks.alloc_tree, if it exists.
	(lto_input_ts_decl_common_tree_pointers): Move reading of
	DECL_INITIAL to lto_streamer_read_tree.
	(lto_read_tree): Call lto_streamer_hooks.read_tree if set.
	(lto_streamer_read_tree): New.
	(lto_reader_init): Rename from lto_init_reader.
	Move initialization code to lto/lto.c.
	* lto-streamer-out.c (pack_value_fields): Call
	streamer_hooks.pack_value_fields if set.
	(lto_output_tree_ref): For tree nodes that are not
	normally indexable, call streamer_hooks.indexable_with_decls_p
	before giving up.
	(lto_output_ts_decl_common_tree_pointers): Move handling
	for FUNCTION_DECL and TRANSLATION_UNIT_DECL to
	lto_streamer_write_tree.
	(lto_output_tree_header): Call streamer_hooks.is_streamable
	instead of lto_is_streamable.
	Call lto_streamer_hooks.output_tree_header if set.
	(lto_write_tree): Call lto_streamer_hooks.write_tree if
	set.
	(lto_streamer_write_tree): New.
	(lto_output): Call lto_streamer_init directly.
	(lto_writer_init): Remove.
	* lto-streamer.c (streamer_hooks): New.
	(lto_streamer_cache_create): Call streamer_hooks.preload_common_nodes
	instead of lto_preload_common_nodes.
	(lto_is_streamable): Move from lto-streamer.h
	(lto_streamer_hooks_init): New.
	(streamer_hooks): New.
	(streamer_hooks_init): New.
	* lto-streamer.h (struct output_block): Forward declare.
	(struct lto_input_block): Likewise.
	(struct data_in): Likewise.
	(struct bitpack_d): Likewise.
	(struct streamer_hooks): Declare.
	(streamer_hooks): Declare.
	(lto_streamer_hooks_init): Declare.
	(lto_streamer_write_tree): Declare.
	(lto_streamer_read_tree): Declare.
	(streamer_hooks_init): Declare.
	(lto_is_streamable): Move to lto-streamer.c

lto/ChangeLog

	* lto.c (lto_init): New.
	(lto_main): Call it.

From-SVN: r174709
2011-06-06 12:49:11 -04:00
boehm-gc
config
contrib
fixincludes inclhack.def (aix_net_if_arp): New fix. 2011-06-06 16:14:57 +00:00
gcc Makefile.in (lto-compress.o): Add dependency on LTO_STREAMER_H. 2011-06-06 12:49:11 -04:00
gnattools
include
INSTALL
intl
libada
libcpp re PR preprocessor/48532 (Wrong location of namespaced pragma involving macros) 2011-06-06 13:33:42 +02:00
libdecnumber
libffi
libgcc iris6.h (ENDFILE_SPEC): Use crtfastmath.o if -ffast-math etc. 2011-06-06 09:49:47 +00:00
libgfortran gcc: 2011-06-03 17:36:21 +00:00
libgo libgo: Define PtraceRegs for Alpha GNU/Linux. 2011-05-31 18:15:14 +00:00
libgomp
libiberty
libjava Revert accidental svn commit r174473 2011-05-31 15:02:40 +02:00
libmudflap
libobjc In libobjc/: 2011-06-03 Nicola Pero <nicola.pero@meta-innovation.com> 2011-06-03 19:57:56 +00:00
libquadmath
libssp
libstdc++-v3 move.h (move_if_noexcept): Use __and_ and __not_. 2011-06-06 16:39:29 +00:00
lto-plugin
maintainer-scripts
zlib
ABOUT-NLS
ChangeLog Sync from upstream: 2011-06-06 10:33:11 +00:00
ChangeLog.tree-ssa
compile
config-ml.in
config.guess oops - omitted from previous delta. 2011-06-06 10:34:35 +00:00
config.rpath
config.sub Sync from upstream: 2011-06-06 10:33:11 +00:00
configure
configure.ac
COPYING
COPYING3
COPYING3.LIB
COPYING.LIB
COPYING.RUNTIME
depcomp
install-sh
libtool-ldflags
libtool.m4
lt~obsolete.m4
ltgcc.m4
ltmain.sh
ltoptions.m4
ltsugar.m4
ltversion.m4
MAINTAINERS * MAINTAINERS (Write After Approval): Add myself. 2011-06-06 03:05:33 +00:00
Makefile.def
Makefile.in
Makefile.tpl
missing
mkdep
mkinstalldirs
move-if-change
README
symlink-tree
ylwrap

This directory contains the GNU Compiler Collection (GCC).

The GNU Compiler Collection is free software.  See the files whose
names start with COPYING for copying permission.  The manuals, and
some of the runtime libraries, are under different terms; see the
individual source files for details.

The directory INSTALL contains copies of the installation information
as HTML and plain text.  The source of this information is
gcc/doc/install.texi.  The installation information includes details
of what is included in the GCC sources and what files GCC installs.

See the file gcc/doc/gcc.texi (together with other files that it
includes) for usage and porting information.  An online readable
version of the manual is in the files gcc/doc/gcc.info*.

See http://gcc.gnu.org/bugs/ for how to report bugs usefully.