diff options
author | burnus <burnus@138bc75d-0d04-0410-961f-82ee72b054a4> | 2012-07-25 18:04:25 +0000 |
---|---|---|
committer | burnus <burnus@138bc75d-0d04-0410-961f-82ee72b054a4> | 2012-07-25 18:04:25 +0000 |
commit | ae0426ce089b6f8f536d0b516dc314785360fc7d (patch) | |
tree | 5d90e21c8b787ed56f0d76ce9e6828d99aa12263 /gcc/fortran/decl.c | |
parent | af9392ebd482826a47edbe6ed5d9c702aff03d23 (diff) | |
download | gcc-ae0426ce089b6f8f536d0b516dc314785360fc7d.tar.gz |
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.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@189859 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/fortran/decl.c')
-rw-r--r-- | gcc/fortran/decl.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/gcc/fortran/decl.c b/gcc/fortran/decl.c index 5d234e600e6..39c0493eef5 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; |