This is the mail archive of the
gcc-cvs@gcc.gnu.org
mailing list for the GCC project.
r254244 - in /trunk/gcc: fortran/ChangeLog fort...
- From: pault at gcc dot gnu dot org
- To: gcc-cvs at gcc dot gnu dot org
- Date: Mon, 30 Oct 2017 22:07:25 -0000
- Subject: r254244 - in /trunk/gcc: fortran/ChangeLog fort...
Author: pault
Date: Mon Oct 30 22:07:25 2017
New Revision: 254244
URL: https://gcc.gnu.org/viewcvs?rev=254244&root=gcc&view=rev
Log:
2017-10-30 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-10-30 Paul Thomas <pault@gcc.gnu.org>
PR fortran/80850
* gfortran.dg/class_64_f90 : New test.
Added:
trunk/gcc/testsuite/gfortran.dg/class_64.f90
Modified:
trunk/gcc/fortran/ChangeLog
trunk/gcc/fortran/trans-expr.c
trunk/gcc/testsuite/ChangeLog