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

Mikael Morin <mikael at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|RESOLVED                    |REOPENED
   Last reconfirmed|                            |2012-02-02
                 CC|                            |mikael at gcc dot gnu.org
         Resolution|FIXED                       |
     Ever Confirmed|0                           |1

--- Comment #5 from Mikael Morin <mikael at gcc dot gnu.org> 2012-02-02 
23:37:09 UTC ---
(In reply to comment #1)
> I don't get an ICE with the coed in comment#0. However I get one with the
> following (valid?) changes:
> 
> type t0
>   integer :: j = 42
> end type t0
> type t
>   integer :: i
>   class(t0), allocatable :: foo(:)
> end type t
> type(t) :: k
> allocate(t0 :: k%foo(3))
> print *, k%foo%j
> end
> 
> pr41587_db.f90: In function 'MAIN__':
> pr41587_db.f90:9:0: internal compiler error: in gfc_conv_descriptor_data_get,
> at fortran/trans-array.c:147
> 
The ICE is gone, but the program above prints 0 0 42 instead of 42 42 42.
Reopening...

Reply via email to