diff options
author | ebotcazou <ebotcazou@138bc75d-0d04-0410-961f-82ee72b054a4> | 2016-05-04 20:25:10 +0000 |
---|---|---|
committer | ebotcazou <ebotcazou@138bc75d-0d04-0410-961f-82ee72b054a4> | 2016-05-04 20:25:10 +0000 |
commit | dac1912d80a5e210503c449fad51a3261ec22f5b (patch) | |
tree | 9b89aa8e393090e50bee758083deb9e7db6e2ddf | |
parent | 6446c3ffc3d4ae12979de061bc7952a86c472649 (diff) |
* 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/branches/gcc-6-branch@235901 138bc75d-0d04-0410-961f-82ee72b054a4
-rw-r--r-- | gcc/ChangeLog | 6 | ||||
-rw-r--r-- | gcc/tree-ssa-coalesce.c | 5 |
2 files changed, 9 insertions, 2 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog index 67fdbae4ef1..deebffdcc7b 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-03 Pierre-Marie de Rodat <derodat@adacore.com> * dwarf2out.c (resolve_args_picking_1): Replace the frame_offset 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. |