This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug fortran/25681] ICE with len of array of derived type



------- Comment #2 from pinskia at gcc dot gnu dot org  2006-01-05 16:47 -------
Confirmed, reduced testcase:
subroutine Derived()
    type Deriv
       character(len=9) :: class
    end type Deriv
    type(Deriv),  dimension(2) :: f_2d

    i = len(f_2d%class)
end subroutine Derived


-- 

pinskia at gcc dot gnu dot org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
           Severity|critical                    |normal
           Keywords|                            |ice-on-valid-code
      Known to fail|4.0.0                       |
            Summary|Segmentation fault, when    |ICE with len of array of
                   |accessing len(attribute) of |derived type
                   |multidimensional object     |


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



Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]