This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug fortran/32601] [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: 4 Jul 2007 18:48:24 -0000
- Subject: [Bug fortran/32601] [ISO Bind C] Access to private components not prevented
- References: <bug-32601-13404@http.gcc.gnu.org/bugzilla/>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- Comment #1 from burnus at gcc dot gnu dot org 2007-07-04 18:48 -------
Related:
print *, c_loc(4)
end
gives an ICE. Expected:
Error: xxxx.f90, line 5: The argument to C_LOC must be a pointer or target
additionally with -std=f2003:
Error: xxxx.f90, line 5: Derived type C_PTR in io-list has PRIVATE components
--
burnus at gcc dot gnu dot org changed:
What |Removed |Added
----------------------------------------------------------------------------
Keywords| |ice-on-invalid-code
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=32601