aboutsummaryrefslogtreecommitdiff
path: root/gcc/fold-const.c
diff options
context:
space:
mode:
authorKazu Hirata <kazu@codesourcery.com>2007-09-01 20:13:45 +0000
committerKazu Hirata <kazu@gcc.gnu.org>2007-09-01 20:13:45 +0000
commit15dc95cbcc21b31f3b5ae50d6172db3c4f4894b1 (patch)
tree45757e42a145a2d8be0144b7e44a0c40f3c59cdf /gcc/fold-const.c
parent8785d88cf18403b3f36973820c42ab4990c7a4c5 (diff)
downloadgcc-15dc95cbcc21b31f3b5ae50d6172db3c4f4894b1.zip
gcc-15dc95cbcc21b31f3b5ae50d6172db3c4f4894b1.tar.gz
gcc-15dc95cbcc21b31f3b5ae50d6172db3c4f4894b1.tar.bz2
arm.c, [...]: Fix comment typos.
* config/arm/arm.c, config/rs6000/ppu_intrinsics.h, config/spu/spu.c, df-scan.c, fixed-value.c, fold-const.c, ginclude/tgmath.h, haifa-sched.c, optabs.c, recog.c, sched-deps.c, sched-int.h, system.h, target.h, tree-ssa-live.c, tree-vect-transform.c, tree-vectorizer.c, tree.def: Fix comment typos. From-SVN: r128016
Diffstat (limited to 'gcc/fold-const.c')
-rw-r--r--gcc/fold-const.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/gcc/fold-const.c b/gcc/fold-const.c
index ed05f1f..7220711 100644
--- a/gcc/fold-const.c
+++ b/gcc/fold-const.c
@@ -3537,7 +3537,7 @@ omit_one_operand (tree type, tree result, tree omitted)
{
tree t = fold_convert (type, result);
- /* If the resulting operand is an empty statement, just return the ommited
+ /* If the resulting operand is an empty statement, just return the omitted
statement casted to void. */
if (IS_EMPTY_STMT (t) && TREE_SIDE_EFFECTS (omitted))
return build1 (NOP_EXPR, void_type_node, fold_ignored_result (omitted));
@@ -3555,7 +3555,7 @@ pedantic_omit_one_operand (tree type, tree result, tree omitted)
{
tree t = fold_convert (type, result);
- /* If the resulting operand is an empty statement, just return the ommited
+ /* If the resulting operand is an empty statement, just return the omitted
statement casted to void. */
if (IS_EMPTY_STMT (t) && TREE_SIDE_EFFECTS (omitted))
return build1 (NOP_EXPR, void_type_node, fold_ignored_result (omitted));