------- Comment #4 from janus at gcc dot gnu dot org  2010-09-07 22:13 -------
(In reply to comment #3)
> > I posted a patch at http://gcc.gnu.org/ml/fortran/2010-09/msg00176.html.
> 
> The patch fixes this pr.

Well, unfortunately the patch does not really fix the problem, but only defers
it. The test case still fails when adding a component with default
initialization, e.g.:

type b_obj
  integer,allocatable :: c(:)
  real :: r = 5.
end type b_obj


-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=45577

Reply via email to