diff options
Diffstat (limited to 'gcc')
| -rw-r--r-- | gcc/fortran/ChangeLog | 4 | ||||
| -rw-r--r-- | gcc/fortran/intrinsic.texi | 7 |
2 files changed, 6 insertions, 5 deletions
diff --git a/gcc/fortran/ChangeLog b/gcc/fortran/ChangeLog index 2cd5447..a1be583 100644 --- a/gcc/fortran/ChangeLog +++ b/gcc/fortran/ChangeLog @@ -1,3 +1,7 @@ +2009-02-18 Tobias Burnus <burnus@net-b.de> + + * intrinsic.texi (MALLOC): Make example more portable. + 2009-02-13 Mikael Morin <mikael.morin@tele2.fr> PR fortran/38259 diff --git a/gcc/fortran/intrinsic.texi b/gcc/fortran/intrinsic.texi index 1243795..711eecb 100644 --- a/gcc/fortran/intrinsic.texi +++ b/gcc/fortran/intrinsic.texi @@ -7333,15 +7333,12 @@ C pointers (@code{sizeof(void *)}). @item @emph{Example}: The following example demonstrates the use of @code{MALLOC} and -@code{FREE} with Cray pointers. This example is intended to run on -32-bit systems, where the default integer kind is suitable to store -pointers; on 64-bit systems, ptr_x would need to be declared as -@code{integer(kind=8)}. +@code{FREE} with Cray pointers. @smallexample program test_malloc + implicit none integer i - integer ptr_x real*8 x(*), z pointer(ptr_x,x) |
