------- Comment #2 from burnus at gcc dot gnu dot org 2007-08-29 18:15 -------
At least for it currently crashes already for the following reduced example;
the problem seems to be the default initializer. (Another hint that this is
indeed the problem: After commenting out the "if (f->sym && f->sym->attr.intent
== INTENT_OUT" etc. in gfc_trans_deferred_vars, gfortran does not crash
anymore.)
module m
use, intrinsic :: iso_c_binding
implicit none
type t
type(c_ptr) :: matrix = c_null_ptr
end type t
contains
subroutine func(a)
type(t), intent(out) :: a
end subroutine func
end module m
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=33040