diff options
author | vehre <vehre@138bc75d-0d04-0410-961f-82ee72b054a4> | 2017-10-28 12:10:59 +0000 |
---|---|---|
committer | vehre <vehre@138bc75d-0d04-0410-961f-82ee72b054a4> | 2017-10-28 12:10:59 +0000 |
commit | 98d57112ed85e3b7892dae72020fe3da553c0af7 (patch) | |
tree | 8cd0d21c34ecc1a9f621dd0b86c7a4f2243ac246 | |
parent | 653e6be2eba5f38aadb0209443e59513ca768c20 (diff) | |
download | gcc-98d57112ed85e3b7892dae72020fe3da553c0af7.tar.gz |
gcc/fortran/ChangeLog:
2017-10-28 Andre Vehreschild <vehre@gcc.gnu.org>
* check.c (gfc_check_co_reduce): Clarify error message.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@254197 138bc75d-0d04-0410-961f-82ee72b054a4
-rw-r--r-- | gcc/fortran/ChangeLog | 4 | ||||
-rw-r--r-- | gcc/fortran/check.c | 2 |
2 files changed, 5 insertions, 1 deletions
diff --git a/gcc/fortran/ChangeLog b/gcc/fortran/ChangeLog index 7ad2427f818..307abe6ca3d 100644 --- a/gcc/fortran/ChangeLog +++ b/gcc/fortran/ChangeLog @@ -1,3 +1,7 @@ +2017-10-28 Andre Vehreschild <vehre@gcc.gnu.org> + + * check.c (gfc_check_co_reduce): Clarify error message. + 2017-10-28 Paul Thomas <pault@gcc.gnu.org> PR fortran/81758 diff --git a/gcc/fortran/check.c b/gcc/fortran/check.c index 681950e782f..759c15adaec 100644 --- a/gcc/fortran/check.c +++ b/gcc/fortran/check.c @@ -1731,7 +1731,7 @@ gfc_check_co_reduce (gfc_expr *a, gfc_expr *op, gfc_expr *result_image, if (!gfc_compare_types (&a->ts, &sym->result->ts)) { - gfc_error ("A argument at %L has type %s but the function passed as " + gfc_error ("The A argument at %L has type %s but the function passed as " "OPERATOR at %L returns %s", &a->where, gfc_typename (&a->ts), &op->where, gfc_typename (&sym->result->ts)); |