This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug fortran/23060] New: %VAL construct not implemented
- From: "p dot w dot draper at durham dot ac dot uk" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 25 Jul 2005 15:26:18 -0000
- Subject: [Bug fortran/23060] New: %VAL construct not implemented
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
The %VAL construct is used for passing arguments by value, rather than the
usual by reference or descriptor. It is vital for interoperability with other
languages such as C.
This feature is available in g77:
http://gcc.gnu.org/onlinedocs/gcc-3.4.4/g77/_0025VAL_0028_0029.html#_0025VAL_0028_0029
My interest in this feature comes from the world of astronomy where we have
a large legacy code base (~1 Million SLOC) written in Fortran 77, (see
http://cvsweb.starlink.ac.uk) where this feature is used for efficiently
accessing large data arrays using mmap, complex data structures, and for
accessing dynamic memory.
--
Summary: %VAL construct not implemented
Product: gcc
Version: 4.0.0
Status: UNCONFIRMED
Severity: normal
Priority: P2
Component: fortran
AssignedTo: unassigned at gcc dot gnu dot org
ReportedBy: p dot w dot draper at durham dot ac dot uk
CC: gcc-bugs at gcc dot gnu dot org
GCC target triplet: i386-redhat-linux
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=23060