This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug fortran/17244] New: gfortran fatal error: gfc_todo: Not Implemented: Returning derived types


Hi there,

gfortran lacks an important Fortran 90 feature...

% cat gfcbug6.f90
module gfcbug6
  implicit none
  type t
     integer i
  end type t
contains
  function f(k)
    integer :: k
    type(t) :: f
    f%i = k
  end function f
end module gfcbug6

% gfortran -static gfcbug6.f90 -c
gfcbug6.f90:0: fatal error: gfc_todo: Not Implemented: Returning derived types
compilation terminated.

Cheers,
-ha

-- 
           Summary: gfortran fatal error: gfc_todo: Not Implemented:
                    Returning derived types
           Product: gcc
           Version: 3.5.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P2
         Component: fortran
        AssignedTo: unassigned at gcc dot gnu dot org
        ReportedBy: anlauf at hep dot tu-darmstadt dot de
                CC: gcc-bugs at gcc dot gnu dot org
  GCC host triplet: i686-pc-linux-gnu


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]