Reported at http://gcc.gnu.org/ml/fortran/2010-09/msg00061.html
Working: 163780 / 163718 Failing: 163661 / 163773 Error: Can't convert TYPE(c_ptr) to INTEGER(4) module filter use, intrinsic :: iso_c_binding type :: cType type(c_ptr) :: accelPtr = c_null_ptr end type cType type filterType type(cType) :: accel end type filterType type(filterType), allocatable, dimension(:) :: filters contains subroutine load() allocate(filters(1)) return end subroutine load end module filter -- Summary: [4.6 Regression] Bogus Error: Can't convert TYPE(c_ptr) to INTEGER(4) Product: gcc Version: 4.6.0 Status: UNCONFIRMED Keywords: rejects-valid 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=45507