This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: [PATCH, Fortran, pr78958, v1] Unallocated memory access after SOURCE-ALLOCATEing unlimited polymorphic object
- From: Paul Richard Thomas <paul dot richard dot thomas at gmail dot com>
- To: Andre Vehreschild <vehre at gmx dot de>
- Cc: GCC-Patches-ML <gcc-patches at gcc dot gnu dot org>, GCC-Fortran-ML <fortran at gcc dot gnu dot org>
- Date: Sat, 4 Feb 2017 17:07:13 +0000
- Subject: Re: [PATCH, Fortran, pr78958, v1] Unallocated memory access after SOURCE-ALLOCATEing unlimited polymorphic object
- Authentication-results: sourceware.org; auth=none
- References: <20170204141156.15c9cc53@vepi2>
Hi Andre,
This looks to be OK for trunk.
Thanks for the patch.
Paul
On 4 February 2017 at 13:11, Andre Vehreschild <vehre@gmx.de> wrote:
> 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
--
"If you can't explain it simply, you don't understand it well enough"
- Albert Einstein