------- Comment #2 from pault at gcc dot gnu dot org  2008-11-22 09:09 -------
Oddly,

  type Path
     type(Spline), allocatable :: r(:)
  end type Path

compiles OK:-)

Given that the ICE is caused by
   gcc_assert (GFC_DESCRIPTOR_TYPE_P (type))

it must be that the type(Spline) :: r(3), which is definitely not a descriptor
type, is incorrectly being treated as if it is.  The allocatable component code
in trans-array.c is meant to handle this, so there is a coding error somewhere.

I'm on to it:-)

Paul


-- 

pault at gcc dot gnu dot org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
   Last reconfirmed|2008-11-22 09:00:28         |2008-11-22 09:09:50
               date|                            |


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

Reply via email to