Re: [patch, libfortran] Fix PR 80365, undefined memcpy

2017-07-28 Thread Janne Blomqvist
On Mon, Jul 24, 2017 at 2:12 PM, Thomas Koenig wrote: > Hi Janne, > >> On Sun, Jul 23, 2017 at 10:23 PM, Thomas Koenig >> wrote: >>> >>> Hello world, >>> >>> the attached test cases fixes a problematic invocation of >>> memcpy where src=NULL and n=0 by simply doing nothing >>> in the surrounding

Re: [patch, libfortran] Fix PR 80365, undefined memcpy

2017-07-24 Thread Thomas Koenig
Hi Janne, On Sun, Jul 23, 2017 at 10:23 PM, Thomas Koenig wrote: Hello world, the attached test cases fixes a problematic invocation of memcpy where src=NULL and n=0 by simply doing nothing in the surrounding function if there is nothing to be done. No test case, because this only shows up w

Re: [patch, libfortran] Fix PR 80365, undefined memcpy

2017-07-24 Thread Janne Blomqvist
On Sun, Jul 23, 2017 at 10:23 PM, Thomas Koenig wrote: > Hello world, > > the attached test cases fixes a problematic invocation of > memcpy where src=NULL and n=0 by simply doing nothing > in the surrounding function if there is nothing to be done. > > No test case, because this only shows up wit