This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug fortran/32601] New: [ISO Bind C] Access to private components not prevented
- From: "burnus at gcc dot gnu dot org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 2 Jul 2007 22:56:02 -0000
- Subject: [Bug fortran/32601] New: [ISO Bind C] Access to private components not prevented
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
USE ISO_C_BINDING, only: c_null_ptr, c_ptr
type(c_ptr) :: t
t = c_null_ptr
print *, c_null_ptr, t
end
should not be allowed (at least with -std=f2003) as type(c_ptr) has only
private components.
--
Summary: [ISO Bind C] Access to private components not prevented
Product: gcc
Version: 4.3.0
Status: UNCONFIRMED
Keywords: accepts-invalid
Severity: normal
Priority: P3
Component: fortran
AssignedTo: unassigned at gcc dot gnu dot org
ReportedBy: burnus at gcc dot gnu dot org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=32601