aboutsummaryrefslogtreecommitdiff
path: root/gcc/fold-const.c
diff options
context:
space:
mode:
authorKazu Hirata <kazu@codesourcery.com>2005-12-16 06:09:31 +0000
committerKazu Hirata <kazu@gcc.gnu.org>2005-12-16 06:09:31 +0000
commit6416ae7f28ac516401f1f64715effce670b76d6f (patch)
treebf3e819caad98dac5bc95062e67178180a96af0e /gcc/fold-const.c
parentbcf51da29c8c946e51084946a2307a36a1198529 (diff)
downloadgcc-6416ae7f28ac516401f1f64715effce670b76d6f.zip
gcc-6416ae7f28ac516401f1f64715effce670b76d6f.tar.gz
gcc-6416ae7f28ac516401f1f64715effce670b76d6f.tar.bz2
basic-block.h, [...]: Fix comment typos.
* basic-block.h, config/i386/winnt.c, config/pa/pa.c, config/s390/s390.c, dfp.c, expr.c, fold-const.c, params.def, reload.c, struct-equiv.c, tree-ssa-ccp.c, tree-ssa-pre.c, tree-ssa-reassoc.c, tree-ssa-structalias.c: Fix comment typos. * doc/invoke.texi, doc/tm.texi: Fix typos. From-SVN: r108626
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 fcb7add..33e27af 100644
--- a/gcc/fold-const.c
+++ b/gcc/fold-const.c
@@ -6809,7 +6809,7 @@ fold_unary (enum tree_code code, tree type, tree op0)
if (TREE_TYPE (op0) == type)
return op0;
- /* If we have (type) (a CMP b) and type is an integal type, return
+ /* If we have (type) (a CMP b) and type is an integral type, return
new expression involving the new type. */
if (COMPARISON_CLASS_P (op0) && INTEGRAL_TYPE_P (type))
return fold_build2 (TREE_CODE (op0), type, TREE_OPERAND (op0, 0),
@@ -8408,7 +8408,7 @@ fold_binary (enum tree_code code, tree type, tree op0, tree op1)
}
/* Optimize tan(x)/sin(x) as 1.0/cos(x) if we don't care about
- NaNs or Infintes. */
+ NaNs or Infinities. */
if (((fcode0 == BUILT_IN_TAN && fcode1 == BUILT_IN_SIN)
|| (fcode0 == BUILT_IN_TANF && fcode1 == BUILT_IN_SINF)
|| (fcode0 == BUILT_IN_TANL && fcode1 == BUILT_IN_SINL)))