This is the mail archive of the
gcc-cvs@gcc.gnu.org
mailing list for the GCC project.
r142279 - in /branches/lto/gcc: ChangeLog.lto l...
- From: dnovillo at gcc dot gnu dot org
- To: gcc-cvs at gcc dot gnu dot org
- Date: Sat, 29 Nov 2008 17:23:06 -0000
- Subject: r142279 - in /branches/lto/gcc: ChangeLog.lto l...
Author: dnovillo
Date: Sat Nov 29 17:23:05 2008
New Revision: 142279
URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=142279
Log:
2008-11-29 Diego Novillo <dnovillo@google.com>
* timevar.def (TV_IPA_LTO_GIMPLE_IO): Rename from
TV_IPA_LTO_OUT. Update all users.
(TV_IPA_LTO_DECL_IO): New.
(TV_IPA_LTO_CGRAPH_IO): New.
(TV_LTO): New.
(TV_WHOPR_WPA): New.
(TV_WHOPR_LTRANS): New.
(TV_WHOPR_WPA_FIXUP): New.
* lto-cgraph.c (pass_ipa_lto_cgraph): Use TV_IPA_LTO_CGRAPH_IO.
* lto-wpa-fixup.c (pass_ipa_lto_wpa_fixup): Use TV_WHOPR_WPA_FIXUP.
* passes.c (execute_ipa_summary_passes): Start and stop
pass timers, if they are defined.
(ipa_write_summaries_2): Likewise.
(ipa_write_summaries_1): Likewise.
* lto-section-out.c (pass_ipa_lto_finish_out): Replace
timer TV_IPA_LTO_OUT with TV_IPA_LTO_DECL_IO.
lto/ChangeLog:
* lto.c: Include timevar.h.
(lto_materialize_function): Tidy. Add comments.
(lto_wpa_write_files): Tidy.
(lto_execute_ltrans): Tidy.
(lto_main): Add local variable LTO_TIMER. Initialize it
to one of TV_WHOPR_WPA, TV_WHOPR_LTRANS or TV_LTO.
Start and stop the timer.
Tidy comments.
* Make-lang.in (lto.o): Add dependency on timevar.h.
* ltrans-driver: React to -v and -save-temps.
Use simple heuristic to determine how much parallelism to
use when executing make.
testsuite/ChangeLog.lto
* lib/lto.exp: Do not set dg-do-what-default.
Modified:
branches/lto/gcc/ChangeLog.lto
branches/lto/gcc/lto-cgraph.c
branches/lto/gcc/lto-function-out.c
branches/lto/gcc/lto-section-out.c
branches/lto/gcc/lto-wpa-fixup.c
branches/lto/gcc/lto/ChangeLog
branches/lto/gcc/lto/Make-lang.in
branches/lto/gcc/lto/lto.c
branches/lto/gcc/lto/ltrans-driver
branches/lto/gcc/passes.c
branches/lto/gcc/testsuite/ChangeLog.lto
branches/lto/gcc/testsuite/lib/lto.exp
branches/lto/gcc/timevar.def