From 5ce15f69d23ff9ccd2a597a6a676de43acf531bd Mon Sep 17 00:00:00 2001 From: Andre Vehreschild Date: Sat, 28 Oct 2017 14:10:59 +0200 Subject: [PATCH] check.c (gfc_check_co_reduce): Clarify error message. gcc/fortran/ChangeLog: 2017-10-28 Andre Vehreschild * check.c (gfc_check_co_reduce): Clarify error message. From-SVN: r254197 --- gcc/fortran/ChangeLog | 4 ++++ gcc/fortran/check.c | 2 +- 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/gcc/fortran/ChangeLog b/gcc/fortran/ChangeLog index 7ad2427..307abe6 100644 --- a/gcc/fortran/ChangeLog +++ b/gcc/fortran/ChangeLog @@ -1,3 +1,7 @@ +2017-10-28 Andre Vehreschild + + * check.c (gfc_check_co_reduce): Clarify error message. + 2017-10-28 Paul Thomas PR fortran/81758 diff --git a/gcc/fortran/check.c b/gcc/fortran/check.c index 681950e..759c15a 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)); -- 2.7.4