aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorluoxhu <luoxhu@138bc75d-0d04-0410-961f-82ee72b054a4>2019-01-24 02:18:16 +0000
committerluoxhu <luoxhu@138bc75d-0d04-0410-961f-82ee72b054a4>2019-01-24 02:18:16 +0000
commit89fcfda61afa33b18e6f155a57f684683dbb7f70 (patch)
tree9f7a72934aec9a44c6276a4f94232223986a0487
parenta898735322e3c785d9f0eec92e7df286552cd55c (diff)
fix comments typo.
gcc/ChangeLog 2019-01-24 Xiong Hu Luo <luoxhu@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. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@268229 138bc75d-0d04-0410-961f-82ee72b054a4
-rw-r--r--gcc/ChangeLog5
-rw-r--r--gcc/tree-ssa-dom.c2
-rw-r--r--gcc/vr-values.c2
3 files changed, 7 insertions, 2 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog
index 094bee46229..56dbfa0ea3d 100644
--- a/gcc/ChangeLog
+++ b/gcc/ChangeLog
@@ -1,3 +1,8 @@
+2019-01-24 Xiong Hu Luo <luoxhu@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.
+
2019-01-23 Bin Cheng <bin.cheng@arm.com>
Steve Ellcey <sellcey@marvell.com>
diff --git a/gcc/tree-ssa-dom.c b/gcc/tree-ssa-dom.c
index 458f7112bbe..12647e76b87 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 f4058ea1fe9..a734ef93f3d 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;