print the number of performed optimizations after compiling

This commit is contained in:
Wolfgang (Blub) Bumiller 2012-11-30 11:47:35 +01:00
parent 17029ba695
commit 0983125d2d

8
main.c
View file

@ -686,6 +686,14 @@ srcdone:
/* stuff */
if (!opts_pp_only) {
for (itr = 0; itr < COUNT_OPTIMIZATIONS; ++itr) {
if (optimization_count[itr]) {
con_out("%s: %u\n", opts_opt_list[itr].name, (unsigned int)optimization_count[itr]);
}
}
}
cleanup:
util_debug("COM", "cleaning ...\n");
ftepp_finish();