This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [gfortran] Add malloc and free intrinsics


On Tue, Sep 27, 2005 at 09:34:17AM +0200, François-Xavier Coudert wrote:
> > I'd like this feature to be marked with GFC_STD_LEGACY rather than
> > GFC_STD_GNU.
> 
> Well, in my understanding GFC_STD_LEGACY was to be used for features
> we only support because they were implemented in g77.

Isn't that what we have GFC_STD_GNU for? Or in general, non-standard
intrinsics that we provide since they provide some useful
functionality that the standard by itself doesn't provide. E.g. the
unix intrinsics, extra math functions etc.

My understanding is that GFC_STD_LEGACY essentially is "stuff we
support since it's useful for legacy code but which the current
standard we support (F95) provides in another incompatible form".

E.g. cray pointers/malloc/free vs. allocatables/pointers/(de)allocate,
and Hollerith vs. character.

Well, who knows the official definition of STD_LEGACY and STD_GNU?

-- 
Janne Blomqvist


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]