From 69b1505f5fdaa435f14b4c1ed7b9f715e3ee73b2 Mon Sep 17 00:00:00 2001 From: rwild Date: Mon, 21 Jul 2008 19:17:08 +0000 Subject: gcc/testsuite/ * gfortran.dg/fmt_g0_3.f08: Fix typo in expected error message. gcc/fortran/ * expr.c (gfc_check_pointer_assign): Fix typo in string. * io.c (check_format): Fix typo in string. Fix comment typos. * parse.c (gfc_global_used): Likewise. * resolve.c (resolve_allocate_expr): Likewise. * symbol.c (gfc_set_default_type): Likewise. * arith.c: Fix typos in comments. * array.c: Likewise. * data.c: Likewise. * decl.c: Likewise. * dependency.c: Likewise. * f95-lang.c: Likewise. * gfortran.h: Likewise. * matchexp.c: Likewise. * module.c: Likewise. * primary.c: Likewise. * scanner.c: Likewise. * trans-array.c: Likewise. * trans-common.c: Likewise. * trans-decl.c: Likewise. * trans-expr.c: Likewise. * trans-intrinsic.c: Likewise. * trans-types.c: Likewise. * trans.c: Likewise. * trans.h: Likewise. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@138040 138bc75d-0d04-0410-961f-82ee72b054a4 --- gcc/fortran/arith.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'gcc/fortran/arith.c') diff --git a/gcc/fortran/arith.c b/gcc/fortran/arith.c index 38b71629df6..2e21b840e2a 100644 --- a/gcc/fortran/arith.c +++ b/gcc/fortran/arith.c @@ -1092,7 +1092,7 @@ gfc_arith_concat (gfc_expr *op1, gfc_expr *op2, gfc_expr **resultp) } /* Comparison between real values; returns 0 if (op1 .op. op2) is true. - This function mimics mpr_cmp but takes NaN into account. */ + This function mimics mpfr_cmp but takes NaN into account. */ static int compare_real (gfc_expr *op1, gfc_expr *op2, gfc_intrinsic_op op) @@ -1159,7 +1159,7 @@ gfc_compare_expr (gfc_expr *op1, gfc_expr *op2, gfc_intrinsic_op op) /* Compare a pair of complex numbers. Naturally, this is only for - equality and nonequality. */ + equality and inequality. */ static int compare_complex (gfc_expr *op1, gfc_expr *op2) @@ -2084,7 +2084,7 @@ arith_error (arith rc, gfc_typespec *from, gfc_typespec *to, locus *where) gfc_internal_error ("gfc_arith_error(): Bad error code"); } - /* TODO: Do something about the error, ie, throw exception, return + /* TODO: Do something about the error, i.e., throw exception, return NaN, etc. */ } -- cgit v1.2.1