2015-01-26 Janus Weil <janus@gcc.gnu.org>
commitae6b205fbb4e374aa658ff57adb69bd72ad635eb
authorjanus <janus@138bc75d-0d04-0410-961f-82ee72b054a4>
Mon, 26 Jan 2015 15:56:03 +0000 (26 15:56 +0000)
committerjanus <janus@138bc75d-0d04-0410-961f-82ee72b054a4>
Mon, 26 Jan 2015 15:56:03 +0000 (26 15:56 +0000)
tree1c48457ac5f8e61ec073116fae1bdfbb0a887391
parentaee00ee81b0291b611ab2583be0b1c8e86b448d3
2015-01-26  Janus Weil  <janus@gcc.gnu.org>

PR fortran/64230
* class.c (finalize_component): New argument 'sub_ns'. Insert code to
check if 'expr' is associated.
(generate_finalization_wrapper): Rename 'ptr' symbols to 'ptr1' and
'ptr2'. Pass 'sub_ns' to finalize_component.

2015-01-26  Janus Weil  <janus@gcc.gnu.org>

PR fortran/64230
* gfortran.dg/class_allocate_18.f90: New.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@220125 138bc75d-0d04-0410-961f-82ee72b054a4
gcc/fortran/ChangeLog
gcc/fortran/class.c
gcc/testsuite/ChangeLog
gcc/testsuite/gfortran.dg/class_allocate_18.f90 [new file with mode: 0644]