[Bug fortran/20335] ICE with attached Fortran source

kargl at gcc dot gnu dot org gcc-bugzilla@gcc.gnu.org
Sat Mar 5 18:57:00 GMT 2005


------- Additional Comments From kargl at gcc dot gnu dot org  2005-03-05 18:57 -------
Here's a rduced version.  This caused by UBOUND call
on the allocated array.

module types
  type lineListType
    type(vertexType), dimension(:), pointer :: vertex
  end type
end module types 

module flow
  use types
  contains
    subroutine TraceCreate
      use types
      type(lineListType) :: line
      integer :: max_line
      allocate(line%vertex(0:15))
      max_line = ubound(line%vertex, 1)
    end subroutine
end module



-- 
           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |NEW
     Ever Confirmed|                            |1
   Last reconfirmed|0000-00-00 00:00:00         |2005-03-05 18:57:25
               date|                            |


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



More information about the Gcc-bugs mailing list