This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug fortran/55574] New: c binding access to c_ptr type
- From: "valeryweber at hotmail dot com" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: Mon, 03 Dec 2012 14:19:55 +0000
- Subject: [Bug fortran/55574] New: c binding access to c_ptr type
- Auto-submitted: auto-generated
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