]> git.ipfire.org Git - thirdparty/gcc.git/commit
re PR fortran/81758 ([OOP] Broken vtab)
authorPaul Thomas <pault@gcc.gnu.org>
Sat, 28 Oct 2017 08:49:26 +0000 (08:49 +0000)
committerPaul Thomas <pault@gcc.gnu.org>
Sat, 28 Oct 2017 08:49:26 +0000 (08:49 +0000)
commit575b527e5798ecbf5d36974bae2c87974019fefd
treeb5ce579d741daf86e8ee8acd2b8a0ddeae5cf9b3
parent7324369a12e9abe3011f6a0cfd8ef48dd44c4729
re PR fortran/81758 ([OOP] Broken vtab)

2017-10-28  Paul Thomas  <pault@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  <pault@gcc.gnu.org>

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

From-SVN: r254195
gcc/fortran/ChangeLog
gcc/fortran/trans-expr.c
gcc/testsuite/ChangeLog
gcc/testsuite/gfortran.dg/class_63.f90 [new file with mode: 0644]