------- Comment #6 from dominiq at lps dot ens dot fr  2010-09-08 14:46 -------
> Here is a better patch: ...

Yes! it accepts

program main

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

type (b_obj),allocatable :: b(:)
integer,allocatable :: c(:)
integer :: i,n

n = 3
allocate(b(n),c(n))

end program main 

It passed my tests (it may even fixed another ICE, I am reducing) and regtested
without regression.


-- 


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

Reply via email to