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



             Bug #: 55574

           Summary: c binding access to c_ptr type

    Classification: Unclassified

           Product: gcc

           Version: 4.8.0

            Status: UNCONFIRMED

          Severity: minor

          Priority: P3

         Component: fortran

        AssignedTo: unassig...@gcc.gnu.org

        ReportedBy: valerywe...@hotmail.com





Hi All 

shouldnt gfortran (gcc version 4.8.0 20121126) complain with the following code

(something like c_ptr not defined)?

v



program aaaa

  use iso_c_binding, only : c_loc

  integer, target :: i

  type(C_PTR) :: f_ptr

  f_ptr=c_loc(i)

end program aaaa

Reply via email to