https://gcc.gnu.org/bugzilla/show_bug.cgi?id=81758

--- Comment #22 from Paul Thomas <pault at gcc dot gnu.org> ---
Author: pault
Date: Sat Oct 28 08:49:26 2017
New Revision: 254195

URL: https://gcc.gnu.org/viewcvs?rev=254195&root=gcc&view=rev
Log:
2017-10-28  Paul Thomas  <pa...@gcc.gnu.org>

        PR fortran/81758
        * trans-expr.c (trans_class_vptr_len_assignment): 'vptr_expr'
        must only be set if the right hand side expression is of type
        class.

2017-10-28  Paul Thomas  <pa...@gcc.gnu.org>

        PR fortran/81758
        * gfortran.dg/class_63.f90: New test.


Added:
    trunk/gcc/testsuite/gfortran.dg/class_63.f90
Modified:
    trunk/gcc/fortran/ChangeLog
    trunk/gcc/fortran/trans-expr.c
    trunk/gcc/testsuite/ChangeLog

Reply via email to