[Bug fortran/54667] [OOP] gimplification failure with c_f_pointer

janus at gcc dot gnu.org gcc-bugzilla@gcc.gnu.org
Sat Sep 22 13:19:00 GMT 2012


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=54667

--- Comment #6 from janus at gcc dot gnu.org 2012-09-22 13:18:31 UTC ---
Moreover there is a typo in the documentation of C_F_POINTER:


Index: gcc/fortran/intrinsic.texi
===================================================================
--- gcc/fortran/intrinsic.texi    (revision 191382)
+++ gcc/fortran/intrinsic.texi    (working copy)
@@ -2362,9 +2362,8 @@ end program main

 @table @asis
 @item @emph{Description}:
-@code{C_F_POINTER(CPTR, FPTR[, SHAPE])} Assign the target the C pointer
-@var{CPTR} to the Fortran pointer @var{FPTR} and specify its
-shape.
+@code{C_F_POINTER(CPTR, FPTR[, SHAPE])} assigns the target of the C pointer
+@var{CPTR} to the Fortran pointer @var{FPTR} and specifies its shape.

 @item @emph{Standard}:
 Fortran 2003 and later



More information about the Gcc-bugs mailing list