summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorebotcazou <ebotcazou@138bc75d-0d04-0410-961f-82ee72b054a4>2016-05-04 20:22:42 +0000
committerebotcazou <ebotcazou@138bc75d-0d04-0410-961f-82ee72b054a4>2016-05-04 20:22:42 +0000
commitc887da186917495864356e2632aab5a1b3b8df9e (patch)
treea56e946e3246feaf7e7537786adf2c42625fff1a
parentdf333af799575dc088f1f7344c8a4898781be1a1 (diff)
downloadgcc-c887da186917495864356e2632aab5a1b3b8df9e.tar.gz
* tree-ssa-coalesce.c (gimple_can_coalesce_p): Fix reference in head
comment. (compute_samebase_partition_bases): Fix typo. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@235900 138bc75d-0d04-0410-961f-82ee72b054a4
-rw-r--r--gcc/ChangeLog6
-rw-r--r--gcc/tree-ssa-coalesce.c5
2 files changed, 9 insertions, 2 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog
index 6ca01e7bae5..898de7ee914 100644
--- a/gcc/ChangeLog
+++ b/gcc/ChangeLog
@@ -1,3 +1,9 @@
+2016-05-04 Eric Botcazou <ebotcazou@adacore.com>
+
+ * tree-ssa-coalesce.c (gimple_can_coalesce_p): Fix reference in head
+ comment.
+ (compute_samebase_partition_bases): Fix typo.
+
2016-05-04 Jakub Jelinek <jakub@redhat.com>
* config/i386/sse.md (vec_interleave_highv8sf,
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.