diff options
author | Steven G. Kargl <kargl@gcc.gnu.org> | 2018-05-13 17:18:05 +0000 |
---|---|---|
committer | Steven G. Kargl <kargl@gcc.gnu.org> | 2018-05-13 17:18:05 +0000 |
commit | 58148bb64960dc5b0e421de8f6d4a4a5cbed9fe2 (patch) | |
tree | fbb44959e60946860205b2d7fd68dfd6e794cf83 /gcc | |
parent | 96b07b108fb7cfaeeddb3f5cede1fda8f772b614 (diff) | |
download | gcc-58148bb64960dc5b0e421de8f6d4a4a5cbed9fe2.zip gcc-58148bb64960dc5b0e421de8f6d4a4a5cbed9fe2.tar.gz gcc-58148bb64960dc5b0e421de8f6d4a4a5cbed9fe2.tar.bz2 |
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
Diffstat (limited to 'gcc')
-rw-r--r-- | gcc/fortran/ChangeLog | 6 | ||||
-rw-r--r-- | gcc/fortran/gfortran.texi | 10 |
2 files changed, 12 insertions, 4 deletions
diff --git a/gcc/fortran/ChangeLog b/gcc/fortran/ChangeLog index a00e861..e1827a9 100644 --- a/gcc/fortran/ChangeLog +++ b/gcc/fortran/ChangeLog @@ -1,3 +1,9 @@ +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> PR fortran/85742 diff --git a/gcc/fortran/gfortran.texi b/gcc/fortran/gfortran.texi index 6f89481..4632563 100644 --- a/gcc/fortran/gfortran.texi +++ b/gcc/fortran/gfortran.texi @@ -1906,10 +1906,12 @@ or, pointer ( <pointer1> , <pointee1> ), ( <pointer2> , <pointee2> ), ... @end smallexample 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 -size array---that is, the last dimension may be left unspecified by -using a @code{*} in place of a value---but a pointee cannot be an -assumed shape array. No space is allocated for the pointee. +The pointee may be an array or scalar. +If an assumed-size array is permitted within the scoping unit, a +pointee can be an assumed-size array. +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 statement, and its array specification (if any) may be declared |