[Bug fortran/55574] New: c binding access to c_ptr type

valeryweber at hotmail dot com gcc-bugzilla@gcc.gnu.org
Mon Dec 3 14:20:00 GMT 2012


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: unassigned@gcc.gnu.org
        ReportedBy: valeryweber@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



More information about the Gcc-bugs mailing list