[prev in list] [next in list] [prev in thread] [next in thread] 

List:       gcc-fortran
Subject:    Re: [Patch, fortran] PR50981 correctly handle absent arrays as actual argument to elemental procedur
From:       Tobias Burnus <tobias.burnus () physik ! fu-berlin ! de>
Date:       2012-02-13 8:23:27
Message-ID: 20120213082326.GA15822 () physik ! fu-berlin ! de
[Download RAW message or body]

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
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic