Node: POINTER Statements, Next: Sensible Non-standard Constructs, Previous: Array Bounds Expressions, Up: Missing Features
g77
doesn't support pointers or allocatable objects
(other than automatic arrays).
This set of features is
probably considered just behind intrinsics
in PARAMETER
statements on the list of large,
important things to add to g77
.
In the meantime, consider using the INTEGER(KIND=7)
declaration to specify that a variable must be
able to hold a pointer.
This construct is not portable to other non-GNU compilers,
but it is portable to all machines GNU Fortran supports
when g77
is used.
See Functions and Subroutines, for information on
%VAL()
, %REF()
, and %DESCR()
constructs, which are useful for passing pointers to
procedures written in languages other than Fortran.