[Bug middle-end/37567] tree SSA to normal checking takes abnormally long time

lucier at math dot purdue dot edu gcc-bugzilla@gcc.gnu.org
Thu Sep 18 20:11:00 GMT 2008



------- 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



More information about the Gcc-bugs mailing list