[Bug fortran/17244] New: gfortran fatal error: gfc_todo: Not Implemented: Returning derived types
anlauf at hep dot tu-darmstadt dot de
gcc-bugzilla@gcc.gnu.org
Mon Aug 30 20:35:00 GMT 2004
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
More information about the Gcc-bugs
mailing list