Re: [PATCH, Fortran, pr78958, v1] Unallocated memory access after SOURCE-ALLOCATEing unlimited polymorphic object

2017-02-05 Thread Andre Vehreschild
Hi Paul, thanks for the review. Committed as r245192. Regards, Andre On Sat, 4 Feb 2017 17:07:13 + Paul Richard Thomas wrote: > Hi Andre, > > This looks to be OK for trunk. > > Thanks for the patch. > > Paul > > On 4 February 2017 at 13:11, Andre Vehreschild wrote: > > Hi all,

Re: [PATCH, Fortran, pr78958, v1] Unallocated memory access after SOURCE-ALLOCATEing unlimited polymorphic object

2017-02-04 Thread Paul Richard Thomas
Hi Andre, This looks to be OK for trunk. Thanks for the patch. Paul On 4 February 2017 at 13:11, Andre Vehreschild wrote: > Hi all, > > attached patch takes the _len-component of unlimited polymorphic objects into > account, when source-ALLOCATEing an unlimited polymorphic object. The testcase

[PATCH, Fortran, pr78958, v1] Unallocated memory access after SOURCE-ALLOCATEing unlimited polymorphic object

2017-02-04 Thread Andre Vehreschild
Hi all, attached patch takes the _len-component of unlimited polymorphic objects into account, when source-ALLOCATEing an unlimited polymorphic object. The testcase for this gcc/testsuite/gfortran.dg/alloc_comp_class_5.f03 with valgrind/sanitizer. I therefore added no additional testcase. Bootstr