From: Xiong Hu Luo <luo...@cn.ibm.com>

commited in 268229.
---
gcc/ChangeLog

2019-01-24  Xiong Hu Luo  <luo...@linux.vnet.ibm.com>

        * tree-ssa-dom.c (test_for_singularity): fix a comment typo.
        * vr-values.c (find_case_label_ranges): fix a comment typo.
---
 gcc/tree-ssa-dom.c | 2 +-
 gcc/vr-values.c    | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/gcc/tree-ssa-dom.c b/gcc/tree-ssa-dom.c
index 458f711..12647e7 100644
--- a/gcc/tree-ssa-dom.c
+++ b/gcc/tree-ssa-dom.c
@@ -1929,7 +1929,7 @@ test_for_singularity (gimple *stmt, gcond *dummy_cond,
 
    3- Very simple redundant store elimination is performed.
 
-   4- We can simpify a condition to a constant or from a relational
+   4- We can simplify a condition to a constant or from a relational
       condition to an equality condition.  */
 
 edge
diff --git a/gcc/vr-values.c b/gcc/vr-values.c
index f4058ea..a734ef9 100644
--- a/gcc/vr-values.c
+++ b/gcc/vr-values.c
@@ -2597,7 +2597,7 @@ find_case_label_ranges (gswitch *stmt, value_range *vr, 
size_t *min_idx1,
 
   take_default = !find_case_label_range (stmt, min, max, &i, &j);
 
-  /* Set second range to emtpy.  */
+  /* Set second range to empty.  */
   *min_idx2 = 1;
   *max_idx2 = 0;
 
-- 
2.7.4

Reply via email to