Commit 5ce15f69 by Andre Vehreschild

check.c (gfc_check_co_reduce): Clarify error message.

gcc/fortran/ChangeLog:

2017-10-28  Andre Vehreschild  <vehre@gcc.gnu.org>

	* check.c (gfc_check_co_reduce): Clarify error message.

From-SVN: r254197
parent 575b527e
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> 2017-10-28 Paul Thomas <pault@gcc.gnu.org>
PR fortran/81758 PR fortran/81758
......
...@@ -1731,7 +1731,7 @@ gfc_check_co_reduce (gfc_expr *a, gfc_expr *op, gfc_expr *result_image, ...@@ -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)) 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", "OPERATOR at %L returns %s",
&a->where, gfc_typename (&a->ts), &op->where, &a->where, gfc_typename (&a->ts), &op->where,
gfc_typename (&sym->result->ts)); gfc_typename (&sym->result->ts));
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment