r254293 - in /branches/gcc-7-branch/gcc: fortra...

pault@gcc.gnu.org pault@gcc.gnu.org
Wed Nov 1 09:33:00 GMT 2017


Author: pault
Date: Wed Nov  1 09:33:26 2017
New Revision: 254293

URL: https://gcc.gnu.org/viewcvs?rev=254293&root=gcc&view=rev
Log:
2017-11-01  Paul Thomas  <pault@gcc.gnu.org>

	PR fortran/80850
	* trans_expr.c (gfc_conv_procedure_call): When passing a class
	argument to an unlimited polymorphic dummy, it is wrong to cast
	the passed expression as unlimited, unless it is unlimited. The
	correct way is to assign to each of the fields and set the _len
	field to zero.

2017-11-01  Paul Thomas  <pault@gcc.gnu.org>

	PR fortran/80850
	* gfortran.dg/class_64_f90 : New test.

Added:
    branches/gcc-7-branch/gcc/testsuite/gfortran.dg/class_64.f90
Modified:
    branches/gcc-7-branch/gcc/fortran/ChangeLog
    branches/gcc-7-branch/gcc/fortran/trans-expr.c
    branches/gcc-7-branch/gcc/testsuite/ChangeLog



More information about the Gcc-cvs mailing list