diff options
author | Paul Thomas <pault@gcc.gnu.org> | 2017-10-30 22:07:25 +0000 |
---|---|---|
committer | Paul Thomas <pault@gcc.gnu.org> | 2017-10-30 22:07:25 +0000 |
commit | 59d7953a634a71f09d02b37ad3031b17ade60d15 (patch) | |
tree | 287560dcf2ccf6975fc74b2fe5662da3698f6094 /gcc/gcc.c | |
parent | 8581ce0a9d73021b110849b3992df0fc88978b6c (diff) | |
download | gcc-59d7953a634a71f09d02b37ad3031b17ade60d15.zip gcc-59d7953a634a71f09d02b37ad3031b17ade60d15.tar.gz gcc-59d7953a634a71f09d02b37ad3031b17ade60d15.tar.bz2 |
re PR libfortran/80850 (Sourced allocate() fails to allocate a pointer)
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.
From-SVN: r254244
Diffstat (limited to 'gcc/gcc.c')
0 files changed, 0 insertions, 0 deletions