This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug tree-optimization/26830] [4.1/4.2 Regression] Insane amount of compile-time / memory needed at -O1 and above
- From: "bonzini at gnu dot org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 24 Mar 2006 14:15:19 -0000
- Subject: [Bug tree-optimization/26830] [4.1/4.2 Regression] Insane amount of compile-time / memory needed at -O1 and above
- References: <bug-26830-10053@http.gcc.gnu.org/bugzilla/>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- 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