Fix obvious typo were errmsg_len was assigned to errmsg.

gcc/fortran/ChangeLog:

2020-08-20  Andre Vehreschild  <vehre@gcc.gnu.org>

	PR fortran/94958
	* trans-array.c (gfc_bcast_alloc_comp): Use the correct variable.
This commit is contained in:
Andre Vehreschild 2020-08-20 17:50:16 +02:00
parent 91d206adfe
commit 05814dde70

View File

@ -9732,7 +9732,7 @@ gfc_bcast_alloc_comp (gfc_symbol *derived, gfc_expr *expr, int rank,
args.image_index = image_index;
args.stat = stat;
args.errmsg = errmsg;
args.errmsg = errmsg_len;
args.errmsg_len = errmsg_len;
if (rank == 0)
{