Re: [patch, libfortran] Fix matmul result zeroing for empty arguments

2017-06-05 Thread Jerry DeLisle
On 06/05/2017 02:52 AM, Thomas Koenig wrote: > Hello world, > > the attached patch moves the zeroing of the result variable before the > early return. This is done so that the result for zero-sized arguments > is still valid. > > The bug was only in the library version, but I have also added a te

Re: [patch, libfortran] Fix matmul result zeroing for empty arguments

2017-06-05 Thread Thomas Koenig
Am 05.06.2017 um 11:52 schrieb Thomas Koenig: OK for trunk? ... and 7.1, where this bug was actually discovered? This is a regerssion. Regards Thomas

[patch, libfortran] Fix matmul result zeroing for empty arguments

2017-06-05 Thread Thomas Koenig
Hello world, the attached patch moves the zeroing of the result variable before the early return. This is done so that the result for zero-sized arguments is still valid. The bug was only in the library version, but I have also added a test case for the inline version to make sure the bug does n