------- Comment #2 from burnus at gcc dot gnu dot org  2010-02-27 17:47 -------
Thanks for the report.

(In reply to comment #1)
> I changed the severity level to 'normal'.  A Fortran issue is
> never considered to be bocker.

Especially not if it involves a new experimental feature such as polymorphic
data types.

> Can you attach the files to the bug report?  Copy and paste
> from a web browse is fraught with problems; in particular,
> whitespace and long lines.

I think it was not that bad - only three or so overlong lines (comment lines);
however, an attachment make the bug more readable.

Reduced test case; compiles with NAG f95 v5.1 and ifort 11.1. gfortran fails
with:

end
   1
Internal Error at (1):
find_array_spec(): Component not found



module m_string
  type t_string
      character, dimension(:), allocatable :: string
  end type t_string
contains
pure function string_to_char ( s ) result(res)
  class(t_string), intent(in) :: s
  character(len=size(s%string)) :: res
  res = ''
end function string_to_char
end module m_string
use m_string
end


-- 

burnus at gcc dot gnu dot org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
           Severity|normal                      |blocker
             Status|UNCONFIRMED                 |NEW
     Ever Confirmed|0                           |1
           Keywords|                            |ice-on-valid-code
   Last reconfirmed|0000-00-00 00:00:00         |2010-02-27 17:47:54
               date|                            |
            Summary|Internal error using        |[OOP] ICE when reading
                   |fortran-2003 .mod file      |module file:
                   |                            |find_array_spec(): Component
                   |                            |not found


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

Reply via email to