http://gcc.gnu.org/bugzilla/show_bug.cgi?id=51520
janus at gcc dot gnu.org changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |janus at gcc dot gnu.org Summary|[4.6 Regression] ICE in |[4.6 Regression] ICE in |gfortran 4.6.2, x86_64 |gfortran 4.6.x --- Comment #6 from janus at gcc dot gnu.org 2012-11-24 13:14:22 UTC --- Slightly further reduced test case: module sidl_array_array_F03 use iso_c_binding type sidl__array type(c_ptr) :: a = c_null_ptr end type end module use sidl_array_array_F03 type (sidl__array) :: res call is_null_s(res) contains subroutine is_null_s(ext) class(sidl__array) :: ext end subroutine end Still segfaults with the current 4.6 branch version: gcc version 4.6.4 20121124 (prerelease) [gcc-4_6-branch revision 193777] (GCC)