diff options
author | Dominique d'Humieres <dominiq@gcc.gnu.org> | 2018-02-16 18:01:02 +0000 |
---|---|---|
committer | Dominique d'Humieres <dominiq@gcc.gnu.org> | 2018-02-16 18:01:02 +0000 |
commit | cbc4ff186de062a22b6de5b1511289292585a1c0 (patch) | |
tree | fe624d6c2a56d96c99604cec8aae0e3fa2d31e66 | |
parent | 363d9135d4f0f93ea94594c14224bdde6931edbb (diff) |
2018-02-16 Dominique d'Humieres <dominiq@gcc.gnu.org>
PR fortran/84354
* decl.c (gfc_get_pdt_instance): Replace '%qs' with %qs.
git-svn-id: https://gcc.gnu.org/svn/gcc/trunk@257750 138bc75d-0d04-0410-961f-82ee72b054a4
-rw-r--r-- | gcc/fortran/ChangeLog | 5 | ||||
-rw-r--r-- | gcc/fortran/decl.c | 6 |
2 files changed, 8 insertions, 3 deletions
diff --git a/gcc/fortran/ChangeLog b/gcc/fortran/ChangeLog index 481004e7f10..1c06bfd2f07 100644 --- a/gcc/fortran/ChangeLog +++ b/gcc/fortran/ChangeLog @@ -1,3 +1,8 @@ +2018-02-16 Dominique d'Humieres <dominiq@gcc.gnu.org> + + PR fortran/84354 + * decl.c (gfc_get_pdt_instance): Replace '%qs' with %qs. + 2018-02-15 Janus Weil <janus@gcc.gnu.org> PR fortran/84409 diff --git a/gcc/fortran/decl.c b/gcc/fortran/decl.c index 307caa215d6..e275be3a950 100644 --- a/gcc/fortran/decl.c +++ b/gcc/fortran/decl.c @@ -3302,7 +3302,7 @@ gfc_get_pdt_instance (gfc_actual_arglist *param_list, gfc_symbol **sym, kind_expr = gfc_copy_expr (c1->initializer); else if (!(actual_param && param->attr.pdt_len)) { - gfc_error ("The derived parameter '%qs' at %C does not " + gfc_error ("The derived parameter %qs at %C does not " "have a default value", param->name); goto error_return; } @@ -3362,14 +3362,14 @@ gfc_get_pdt_instance (gfc_actual_arglist *param_list, gfc_symbol **sym, && (actual_param->spec_type == SPEC_ASSUMED || actual_param->spec_type == SPEC_DEFERRED)) { - gfc_error ("The KIND parameter '%qs' at %C cannot either be " + gfc_error ("The KIND parameter %qs at %C cannot either be " "ASSUMED or DEFERRED", param->name); goto error_return; } if (!kind_expr || !gfc_is_constant_expr (kind_expr)) { - gfc_error ("The value for the KIND parameter '%qs' at %C does not " + gfc_error ("The value for the KIND parameter %qs at %C does not " "reduce to a constant expression", param->name); goto error_return; } |