[Bug fortran/33334] New: User-defined type as function result in an interface: Accepts invalid

burnus at gcc dot gnu dot org gcc-bugzilla@gcc.gnu.org
Fri Sep 7 15:01:00 GMT 2007


(Split off from PR 31154.)
The following is accepted but invalid (without using "IMPORT t"):

module x
 implicit none
 type t
   integer :: i
 end type t
 interface
   type(t) function bar()
   end function
 end interface
end


-- 
           Summary: User-defined type as function result in an interface:
                    Accepts invalid
           Product: gcc
           Version: 4.3.0
            Status: UNCONFIRMED
          Keywords: accepts-invalid
          Severity: normal
          Priority: P3
         Component: fortran
        AssignedTo: unassigned at gcc dot gnu dot org
        ReportedBy: burnus at gcc dot gnu dot org


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



More information about the Gcc-bugs mailing list