[PATCH, Fortran, pr78958, v1] Unallocated memory access after SOURCE-ALLOCATEing unlimited polymorphic object
Andre Vehreschild
vehre@gmx.de
Sat Feb 4 13:12:00 GMT 2017
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.
Bootstraps and regtests ok on x86_64-linux/f25 and as reported in the PR on
32bit-hpux. Ok for trunk (when?)?
Regards,
Andre
--
Andre Vehreschild * Email: vehre ad gmx dot de
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: pr78958_v1.clog
URL: <http://gcc.gnu.org/pipermail/fortran/attachments/20170204/bb629bd8/attachment.ksh>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: pr78958_v1.patch
Type: text/x-patch
Size: 1525 bytes
Desc: not available
URL: <http://gcc.gnu.org/pipermail/fortran/attachments/20170204/bb629bd8/attachment.bin>
More information about the Fortran
mailing list