Print lto report at the right place
authorAndi Kleen <ak@linux.intel.com>
Tue, 23 Apr 2013 03:10:16 +0000 (03:10 +0000)
committerAndi Kleen <ak@gcc.gnu.org>
Tue, 23 Apr 2013 03:10:16 +0000 (03:10 +0000)
commit1a0ad150a3e2fc16fe240810900d2b7bc1d0ec0d
tree137a24775822a70a771a287544196e8195585978
parent057f8f20df4a1ef022ea917f4e7690b3092089c9
Print lto report at the right place

The LTO report is currently printed when the type merging hash tables
are already destroyed, which makes them always show up as empty.
Print it earlier. Right now it's printed twice.

gcc/:

2013-04-22  Andi Kleen  <ak@linux.intel.com>

* lto/lto.c (print_lto_report_1): Declare early.
(read_cgraph_and_symbols): Call print_lto_report_1 early.

From-SVN: r198173
gcc/ChangeLog
gcc/lto/lto.c