This is the mail archive of the
gcc-cvs@gcc.gnu.org
mailing list for the GCC project.
r144417 - in /branches/lto/gcc: ChangeLog.lto M...
- From: dnovillo at gcc dot gnu dot org
- To: gcc-cvs at gcc dot gnu dot org
- Date: Tue, 24 Feb 2009 21:46:35 -0000
- Subject: r144417 - in /branches/lto/gcc: ChangeLog.lto M...
Author: dnovillo
Date: Tue Feb 24 21:46:34 2009
New Revision: 144417
URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=144417
Log:
* doc/invoke.texi: Document -flto, -fwhopr and -flto-report.
* lto-function-in.c (global_vector_enter):
* lto-header.h (enum lto_section_type): Add LTO_N_SECTION_TYPES.
(lto_section_name): Declare.
(struct lto_stats_d): Declare.
(lto_stats): Declare.
* lto-section-in.c (lto_section_name): Declare.
(lto_get_section_data): Update lto_stats.section_size.
* common.opt (flto-report): Define.
* lto-stream-debug.c: Include tree.h before lto-header.h.
* Makefile.in (LTO_OPTS_H): Add dependency on lto-section-in.h
* lto-utils.c (lto_stats): New.
(print_lto_report): New.
* lto-utils.h (print_lto_report): Declare.
lto/ChangeLog
* lto.c (lto_materialize_function): Update
lto_stats.num_function_bodies.
(get_section_data): Initialize *LEN to 0.
(lto_1_to_1_map): Update lto_stats.num_cgraph_partitions.
(lto_wpa_write_files): Update lto_stats.num_cgraph_nodes.
Update lto_stats.num_output_files.
(read_cgraph_and_symbols): Update lto_stats.num_input_files.
(materialize_cgraph): Update lto_stats.num_input_cgraph_nodes.
(lto_main): Initialize lto_stats.
If flag_lto_report is set, call print_lto_report.
Modified:
branches/lto/gcc/ChangeLog.lto
branches/lto/gcc/Makefile.in
branches/lto/gcc/common.opt
branches/lto/gcc/doc/invoke.texi
branches/lto/gcc/lto-function-in.c
branches/lto/gcc/lto-header.h
branches/lto/gcc/lto-section-in.c
branches/lto/gcc/lto-stream-debug.c
branches/lto/gcc/lto-utils.c
branches/lto/gcc/lto-utils.h
branches/lto/gcc/lto/ChangeLog
branches/lto/gcc/lto/lto.c