This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug middle-end/37567] tree SSA to normal checking takes abnormally long time
- From: "lucier at math dot purdue dot edu" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 18 Sep 2008 20:09:49 -0000
- Subject: [Bug middle-end/37567] tree SSA to normal checking takes abnormally long time
- References: <bug-37567-271@http.gcc.gnu.org/bugzilla/>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- Comment #4 from lucier at math dot purdue dot edu 2008-09-18 20:09 -------
Actually, it's pretty clear this is the problem:
extern gimple *
find_replaceable_exprs (var_map map)
{
basic_block bb;
temp_expr_table_p table;
gimple *ret;
table = new_temp_expr_table (map);
FOR_EACH_BB (bb)
{
find_replaceable_in_bb (table, bb);
gcc_assert (bitmap_empty_p (table->partition_in_use));
#ifdef ENABLE_CHECKING
{
unsigned i;
/* Make sure all the tables have been cleared out. */
for (i = 0; i < num_ssa_names + 1; i++)
{
gcc_assert (table->partition_dependencies[i] == NULL);
gcc_assert (table->expr_decl_uids[i] == NULL);
if (i < num_var_partitions (map))
gcc_assert (table->kill_list[i] == NULL);
}
}
#endif
}
ret = free_temp_expr_table (table);
return ret;
}
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=37567