aboutsummaryrefslogtreecommitdiff
path: root/gcc/fortran/decl.c
diff options
context:
space:
mode:
authorTobias Burnus <burnus@net-b.de>2012-07-25 20:04:25 +0200
committerTobias Burnus <burnus@gcc.gnu.org>2012-07-25 20:04:25 +0200
commit62732c3044c767f4efcff0cd398c9e65ba437bda (patch)
tree5d90e21c8b787ed56f0d76ce9e6828d99aa12263 /gcc/fortran/decl.c
parenta35c9beff6490bacf35d5aa12ad345e056206290 (diff)
downloadgcc-62732c3044c767f4efcff0cd398c9e65ba437bda.zip
gcc-62732c3044c767f4efcff0cd398c9e65ba437bda.tar.gz
gcc-62732c3044c767f4efcff0cd398c9e65ba437bda.tar.bz2
trans-types.c (gfc_real16_is_float128): Fix spelling in a comment.
2012-07-25 Tobias Burnus <burnus@net-b.de> * trans-types.c (gfc_real16_is_float128): Fix spelling in a comment. * trans.h (struct gfc_array_info): Ditto. * gfortran.h (gfc_expr): Ditto. * simplify.c (gfc_count): Ditto. * trans-expr.c (gfc_copy_class_to_class, conv_parent_component_references, gfc_trans_pointer_assignment): Ditto. * expr.c (check_pointer_assign): Fix diagnostic spelling. * interface.c (compare_parameter): Ditto. * parse.c (use_modules, parse_associate): Ditto. * decl.c (match_char_length): Fix spelling of the an function argument. From-SVN: r189859
Diffstat (limited to 'gcc/fortran/decl.c')
-rw-r--r--gcc/fortran/decl.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/gcc/fortran/decl.c b/gcc/fortran/decl.c
index 5d234e6..39c0493 100644
--- a/gcc/fortran/decl.c
+++ b/gcc/fortran/decl.c
@@ -732,7 +732,7 @@ syntax:
char_len_param_value in parenthesis. */
static match
-match_char_length (gfc_expr **expr, bool *deferred, bool obsolenscent_check)
+match_char_length (gfc_expr **expr, bool *deferred, bool obsolescent_check)
{
int length;
match m;
@@ -748,7 +748,7 @@ match_char_length (gfc_expr **expr, bool *deferred, bool obsolenscent_check)
if (m == MATCH_YES)
{
- if (obsolenscent_check
+ if (obsolescent_check
&& gfc_notify_std (GFC_STD_F95_OBS,
"Old-style character length at %C") == FAILURE)
return MATCH_ERROR;