aboutsummaryrefslogtreecommitdiff
path: root/gcc/f/g77.texi
diff options
context:
space:
mode:
authorCraig Burley <burley@gnu.org>1998-06-04 06:41:23 -0400
committerDave Love <fx@gcc.gnu.org>1998-06-04 10:41:23 +0000
commita835e351374fc5a3c9f0758ba98ab8ea44763e21 (patch)
tree61d49e5c61994c0545ddeebea225f27e1bc925a0 /gcc/f/g77.texi
parente69bc5b0b3dbd0ddd2fec59d37c0603b5007450d (diff)
downloadgcc-a835e351374fc5a3c9f0758ba98ab8ea44763e21.zip
gcc-a835e351374fc5a3c9f0758ba98ab8ea44763e21.tar.gz
gcc-a835e351374fc5a3c9f0758ba98ab8ea44763e21.tar.bz2
com.c (ffecom_init_0): Fix setup of INTEGER(KIND=7) pointer type.
Mon Jun 1 19:37:42 1998 Craig Burley <burley@gnu.org> * com.c (ffecom_init_0): Fix setup of INTEGER(KIND=7) pointer type. * info.c (ffeinfo_type): Don't crash on null type. * expr.c (ffeexpr_fulfill_call_): Don't special-case %LOC(expr) or LOC(expr). Delete FFEGLOBAL_argsummaryPTR. * global.c, global.h: Delete FFEGLOBAL_argsummaryPTR. From-SVN: r20225
Diffstat (limited to 'gcc/f/g77.texi')
-rw-r--r--gcc/f/g77.texi9
1 files changed, 5 insertions, 4 deletions
diff --git a/gcc/f/g77.texi b/gcc/f/g77.texi
index dfd0c6b..3d36685 100644
--- a/gcc/f/g77.texi
+++ b/gcc/f/g77.texi
@@ -5409,16 +5409,17 @@ arguments (those not passed using a construct such as @code{%VAL()})
by reference or descriptor, depending on the type of
the actual argument.
Thus, given @samp{INTEGER I}, @samp{CALL FOO(I)} would
-seem to mean the same thing as @samp{CALL FOO(%LOC(I))}, and
+seem to mean the same thing as @samp{CALL FOO(%VAL(%LOC(I)))}, and
in fact might compile to identical code.
-However, @samp{CALL FOO(%LOC(I))} emphatically means ``pass the
-address of @samp{I} in memory''.
+However, @samp{CALL FOO(%VAL(%LOC(I)))} emphatically means
+``pass, by value, the address of @samp{I} in memory''.
While @samp{CALL FOO(I)} might use that same approach in a
particular version of @code{g77}, another version or compiler
might choose a different implementation, such as copy-in/copy-out,
to effect the desired behavior---and which will therefore not
-necessarily compile to the same code as would @samp{CALL FOO(%LOC(I))}
+necessarily compile to the same code as would
+@samp{CALL FOO(%VAL(%LOC(I)))}
using the same version or compiler.
@xref{Debugging and Interfacing}, for detailed information on