summaryrefslogtreecommitdiff
path: root/gcc/tree-ssa-coalesce.c
diff options
context:
space:
mode:
authorEric Botcazou <ebotcazou@adacore.com>2016-05-04 20:22:42 +0000
committerEric Botcazou <ebotcazou@gcc.gnu.org>2016-05-04 20:22:42 +0000
commite4ea422a005d67594f66a8986d930f623c46b200 (patch)
treea56e946e3246feaf7e7537786adf2c42625fff1a /gcc/tree-ssa-coalesce.c
parent627add0882924e3a763effa3ca4455a827a428a7 (diff)
tree-ssa-coalesce.c (gimple_can_coalesce_p): Fix reference in head comment.
* tree-ssa-coalesce.c (gimple_can_coalesce_p): Fix reference in head comment. (compute_samebase_partition_bases): Fix typo. From-SVN: r235900
Diffstat (limited to 'gcc/tree-ssa-coalesce.c')
-rw-r--r--gcc/tree-ssa-coalesce.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/gcc/tree-ssa-coalesce.c b/gcc/tree-ssa-coalesce.c
index 4b0134d082c..5f8f64514d5 100644
--- a/gcc/tree-ssa-coalesce.c
+++ b/gcc/tree-ssa-coalesce.c
@@ -1505,7 +1505,8 @@ dump_part_var_map (FILE *f, partition part, var_map map)
/* Given SSA_NAMEs NAME1 and NAME2, return true if they are candidates for
coalescing together, false otherwise.
- This must stay consistent with var_map_base_init in tree-ssa-live.c. */
+ This must stay consistent with compute_samebase_partition_bases and
+ compute_optimized_partition_bases. */
bool
gimple_can_coalesce_p (tree name1, tree name2)
@@ -1759,7 +1760,7 @@ compute_samebase_partition_bases (var_map map)
else
/* This restricts what anonymous SSA names we can coalesce
as it restricts the sets we compute conflicts for.
- Using TREE_TYPE to generate sets is the easies as
+ Using TREE_TYPE to generate sets is the easiest as
type equivalency also holds for SSA names with the same
underlying decl.