tree-ssa-alias.c (dump_mem_ref_stats): Do not call need_to_partition_p if there are no memory statements in the function.

* tree-ssa-alias.c (dump_mem_ref_stats): Do not call
	need_to_partition_p if there are no memory statements in the
	function.

From-SVN: r123732
This commit is contained in:
Diego Novillo 2007-04-11 23:46:43 +00:00 committed by Diego Novillo
parent 55a700ac1f
commit 0de107cf67
2 changed files with 7 additions and 1 deletions

View File

@ -1,3 +1,9 @@
2007-04-11 Diego Novillo <dnovillo@redhat.com>
* tree-ssa-alias.c (dump_mem_ref_stats): Do not call
need_to_partition_p if there are no memory statements in the
function.
2007-04-11 Zdenek Dvorak <dvorakz@suse.cz>
* tree-data-ref.c (chrec_steps_divide_constant_p): Removed.

View File

@ -643,7 +643,7 @@ dump_mem_ref_stats (FILE *file)
fprintf (file, "Partitioning thresholds: MAX = %d AVG = %d "
"(%sNEED TO PARTITION)\n", MAX_ALIASED_VOPS, AVG_ALIASED_VOPS,
need_to_partition_p (stats) ? "" : "NO ");
stats->num_mem_stmts && need_to_partition_p (stats) ? "" : "NO ");
fprintf (file, "Number of partitioned symbols: %ld\n", num_partitioned);
fprintf (file, "Number of unpartitioned symbols: %ld\n", num_unpartitioned);
}