This is the mail archive of the fortran@gcc.gnu.org mailing list for the GNU Fortran project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [patch, libfortran] Fix amount of memory allocation for matrix - vector calculation


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.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]