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

janus at gcc dot gnu.org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |NEW
   Last reconfirmed|                            |2012-07-09
                 CC|                            |janus at gcc dot gnu.org
            Summary|ICE: OOP Class array        |[4.8 Regression] [OOP] ICE
                   |                            |with class array
     Ever Confirmed|0                           |1

--- Comment #1 from janus at gcc dot gnu.org 2012-07-09 12:24:41 UTC ---
(In reply to comment #0)
> oop_class_array.f90: In function ‘display_population’:
> oop_class_array.f90:111:0: internal compiler error: in gfc_add_modify_loc, at
> fortran/trans.c:161
>         CALL self%indv(i)%display()
>  ^

I can confirm this ICE with trunk. However, gfortran 4.7.1 compiles the test
case cleanly, so apparently it is a regression. With 4.7 one gets a segfault at
runtime (invalid memory reference on line 106).

Thanks for the bug report!

Reply via email to