------- Comment #7 from kargl at gcc dot gnu dot org  2010-07-27 06:15 -------
(In reply to comment #5)
> From the error location it looks like a duplicate of PR 44857.
> 

Yes, I think you're right.  I've reduced it further in 
comment #6.  The code compiles if the array constructor is
changed.  That is, this compiles

MODULE FunctionTypes

  IMPLICIT NONE

  integer, parameter :: OpconNameLength = 4

  TYPE, PUBLIC :: TTermDefinition
    CHARACTER (OpconNameLength) :: termName(2)    
  END TYPE TTermDefinition

  TYPE (TTermDefinition), PARAMETER :: e = TTermDefinition (["    ", "    "])

end module FunctionTypes


-- 


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

Reply via email to