This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug fortran/54667] [OOP] gimplification failure with c_f_pointer
- From: "janus at gcc dot gnu.org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: Sat, 22 Sep 2012 13:18:31 +0000
- Subject: [Bug fortran/54667] [OOP] gimplification failure with c_f_pointer
- Auto-submitted: auto-generated
- References: <bug-54667-4@http.gcc.gnu.org/bugzilla/>
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