re PR fortran/78958 (Unallocated memory access after SOURCE-ALLOCATEing unlimited...
authorAndre Vehreschild <vehre@gcc.gnu.org>
Sun, 5 Feb 2017 12:42:31 +0000 (13:42 +0100)
committerAndre Vehreschild <vehre@gcc.gnu.org>
Sun, 5 Feb 2017 12:42:31 +0000 (13:42 +0100)
commit764d5c7b5376677bd6e592fa969065f58dc3d816
treeed731d55c2fb0281f28245a8d9e7f4d23be3ab70
parent4b9c80d8e4a1d14f6e517aac2267675910488510
re PR fortran/78958 (Unallocated memory access after SOURCE-ALLOCATEing unlimited polymorphic object)

gcc/fortran/ChangeLog:

2017-02-05  Andre Vehreschild  <vehre@gcc.gnu.org>

PR fortran/78958
* trans-stmt.c (gfc_trans_allocate): Add the multiplying the _len
component of unlimited polymorphic objects when source-allocating.

From-SVN: r245192
gcc/fortran/ChangeLog
gcc/fortran/trans-stmt.c