Re: [Patch, fortran] PR50981 correctly handle absent arrays as actual argument to elemental procedures

2012-02-13 Thread Tobias Burnus
Mikael Morin wrote: there was no specific handling for absent arrays passed as argument to elemental procedures. So, because of scalarisation, we were passing an array element reference of a NULL pointer which was failing. These patches add a conditional to pass NULL when the data pointer is

[Patch, fortran] PR50981 correctly handle absent arrays as actual argument to elemental procedures

2012-02-12 Thread Mikael Morin
Hello, there was no specific handling for absent arrays passed as argument to elemental procedures. So, because of scalarisation, we were passing an array element reference of a NULL pointer which was failing. These patches add a conditional to pass NULL when the data pointer is NULL.