This is the mail archive of the
fortran@gcc.gnu.org
mailing list for the GNU Fortran project.
Re: [patch, libfortran] Fix amount of memory allocation for matrix - vector calculation
- From: "H.J. Lu" <hjl dot tools at gmail dot com>
- To: Thomas Koenig <tkoenig at netcologne dot de>
- Cc: Janne Blomqvist <blomqvist dot janne at gmail dot com>, "fortran at gcc dot gnu dot org" <fortran at gcc dot gnu dot org>, gcc-patches <gcc-patches at gcc dot gnu dot org>
- Date: Mon, 15 May 2017 08:49:15 -0700
- Subject: Re: [patch, libfortran] Fix amount of memory allocation for matrix - vector calculation
- Authentication-results: sourceware.org; auth=none
- References: <9115bf74-43ba-996f-60da-2c7143df59ad@netcologne.de> <CAO9iq9GSx6=UhPMZjp2gEAP2Kg7ONMGgMZFvjmUEe-7qtXrbCg@mail.gmail.com> <460358d6-6691-7a7d-75f0-dcbb32aba081@netcologne.de>
On Fri, May 12, 2017 at 9:57 AM, Thomas Koenig <tkoenig@netcologne.de> wrote:
> Am 12.05.2017 um 10:16 schrieb Janne Blomqvist:
>>
>> On Fri, May 12, 2017 at 1:14 AM, Thomas Koenig <tkoenig@netcologne.de>
>> wrote:
>>>
>>> Hello world,
>>>
>>> the memory allocation for the buffer in the library matmul
>>> routines still has one problem: The value of 0xdeadbeef meant
>>> as poison could end up in the calculation of the size of the
>>> buffer for the blocked matmul.
>>>
>>> The attached patch fixes that. Verified with regression-test,
>>> also by running a few select test cases under valgrind.
>>>
>>> No test case because nothing appeared to fail.
>>>
>>> OK for trunk?
>>
>>
>> Patch missing?
>
>
> Well, yes.
>
> Here it is.
>
> Regards
>
> Thomas
>
This fixes:
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=80765
--
H.J.