Found at

Assuming the definition,
   type, abstract :: pointGen ! ...
   end type pointGen

   type, extends( pointGen) :: point2d
      real :: x
      real :: y
   end type point2d

the structure constructor will fail with:
 myPoint = point2d(2.3, 4.2)
Error: Invalid character in name at (1) 

It works if one uses:
 myPoint = point2d(x=2.3, y=4.2)

           Summary: [OOP] Valid structure constructor rejected
           Product: gcc
           Version: 4.6.0
            Status: UNCONFIRMED
          Keywords: rejects-valid
          Severity: normal
          Priority: P3
         Component: fortran
        AssignedTo: unassigned at gcc dot gnu dot org
        ReportedBy: burnus at gcc dot gnu dot org

Reply via email to