This is the mail archive of the
fortran@gcc.gnu.org
mailing list for the GNU Fortran project.
Re: [gfortran] Add malloc and free intrinsics
- From: Janne Blomqvist <jblomqvi at cc dot hut dot fi>
- To: François-Xavier Coudert <fxcoudert at gmail dot com>
- Cc: gfortran <fortran at gcc dot gnu dot org>, patch <gcc-patches at gcc dot gnu dot org>, Asher Langton <langton2 at llnl dot gov>
- Date: Tue, 27 Sep 2005 10:00:08 +0300
- Subject: Re: [gfortran] Add malloc and free intrinsics
- References: <19c433eb0509260616244ca03d@mail.gmail.com>
On Mon, Sep 26, 2005 at 03:16:39PM +0200, François-Xavier Coudert wrote:
> Now that gfortran will support Cray pointers, a useful addition is the
> non-standard MALLOC and FREE intrinsics. They're used on many
> scientific codes to perform dynamic memory allocation.
>
> Attached patch (independent of the Cray pointers patch, although in
> real life both are used together; I will provide specific testcases
> for their interrelation once the CP patch is in) adds these two
> intrinsics: front-end, library, doc and a testcase.
>
> I would really welcome comments on the doc part, since I am not a
> native english speaker, and I was not too confident with what should
> be said. Thanks in advance.
>
> This was built and tested on i686-linux. OK for mainline?
In addition to the few comments I mentioned when replying to Brooks,
I'd like this feature to be marked with GFC_STD_LEGACY rather than
GFC_STD_GNU.
--
Janne Blomqvist