Commit 58148bb6 by Steven G. Kargl

re PR fortran/63529 (Bad error and ICE with Cray Pointers in Modules)

2018-05-13  Steven G. Kargl  <kargl@gcc.gnu.org>

	PR fortran/63529
	* gfortran.texi: Clarify documentation for Cray pointer and
	assumed-sized array.

From-SVN: r260213
parent 96b07b10
2018-05-13 Steven G. Kargl <kargl@gcc.gnu.org>
PR fortran/63529
* gfortran.texi: Clarify documentation for Cray pointer and
assumed-sized array.
2018-05-13 Paul Thomas <pault@gcc.gnu.org> 2018-05-13 Paul Thomas <pault@gcc.gnu.org>
PR fortran/85742 PR fortran/85742
......
...@@ -1906,10 +1906,12 @@ or, ...@@ -1906,10 +1906,12 @@ or,
pointer ( <pointer1> , <pointee1> ), ( <pointer2> , <pointee2> ), ... pointer ( <pointer1> , <pointee1> ), ( <pointer2> , <pointee2> ), ...
@end smallexample @end smallexample
The pointer is an integer that is intended to hold a memory address. The pointer is an integer that is intended to hold a memory address.
The pointee may be an array or scalar. A pointee can be an assumed The pointee may be an array or scalar.
size array---that is, the last dimension may be left unspecified by If an assumed-size array is permitted within the scoping unit, a
using a @code{*} in place of a value---but a pointee cannot be an pointee can be an assumed-size array.
assumed shape array. No space is allocated for the pointee. That is, the last dimension may be left unspecified by using a @code{*}
in place of a value. A pointee cannot be an assumed shape array.
No space is allocated for the pointee.
The pointee may have its type declared before or after the pointer The pointee may have its type declared before or after the pointer
statement, and its array specification (if any) may be declared statement, and its array specification (if any) may be declared
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment