[gfortran] Add malloc and free intrinsics
Janne Blomqvist
jblomqvi@cc.hut.fi
Mon Oct 24 20:40:00 GMT 2005
On Sat, Oct 15, 2005 at 02:39:58PM +0300, Janne Blomqvist wrote:
> On Sat, Oct 15, 2005 at 12:19:11PM +0200, FX Coudert wrote:
> > >I updated the documentation so that it mentions that Cray pointers are
> > >not yet supported, so that the example is not working yet; it says
> > >that the example is for 32-bit systems, and indicates that MALLOC/FREE
> > >are here to support legacy code, and hints that the Fortran 95
> > >intrinsics to do memory allocation are ALLOCATE/DEALLOCATE.
> > >
> > >I changed the testsuite file so that it uses integer*8, that works on
> > >both 32- and 64-bit systems.
> >
> > ping.
> >
> > Built and tested on i686-linux. OK for mainline (apart from the doc typo
> > noted by Brooks)?
>
> Unless some miracle happens RSN, it unfortunately looks like 4.1 is
> going to release without cray pointers. In that case, IMHO malloc/free
> can wait for 4.2 as well.
Now that we seem to have witnessed a miracle(!), my objections to this
patch are now NULL and void*.
Unfortunately it seems I'll be occupied by real life for the next few
weeks, so I don't think I'll have time to review it within a
reasonable time. However, I do think it is important to get into 4.1
so that cray pointers actually can be of use.
--
Janne Blomqvist
More information about the Gcc-patches
mailing list