[Patch, fortran] PR50981 correctly handle absent arrays as actual argument to elemental procedures
Tobias Burnus
tobias.burnus@physik.fu-berlin.de
Mon Feb 13 09:35:00 GMT 2012
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 NULL.
> Regression tested on x86_64-unknown-freebsd9.0. OK for trunk?
OK. Thanks for the patch.
Tobias
More information about the Gcc-patches
mailing list