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.

From-SVN: r268229
This commit is contained in:
Xiong Hu Luo 2019-01-24 02:18:16 +00:00 committed by Xiong Hu Luo
parent 275e9ad9ee
commit eea18a4eb0
3 changed files with 7 additions and 2 deletions

View File

@ -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>

View File

@ -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

View File

@ -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;