This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug fortran/32601] New: [ISO Bind C] Access to private components not prevented


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]