[Bug tree-optimization/26830] [4.1/4.2 Regression] Insane amount of compile-time / memory needed at -O1 and above
bonzini at gnu dot org
gcc-bugzilla@gcc.gnu.org
Fri Mar 24 14:15:00 GMT 2006
------- Comment #10 from bonzini at gnu dot org 2006-03-24 14:15 -------
so it may even be that something creates an incredibly interconnected CFG?
can you add a test somewhere in execute_one_pass to print the number of basic
blocks and the total number of edges? along these lines:
if (pass->name && current_function_decl && (curr_properties & PROP_cfg)) {
tot_bb = tot_edge = 0;
FOR_EACH_BB (bb)
tot_bb++, tot_edge += EDGE_COUNT (bb->succ);
fprintf ("%s %s %d %d %f", pass->name, IDENTIFIER_POINTER
(DECL_ASSEMBLER_NAME (current_function_decl)),
tot_bb, tot_edge, ((double)tot_edge) / tot_bb);
}
Paolo
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=26830
More information about the Gcc-bugs
mailing list