public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug fortran/17379] New: Generic functions not resolved
@ 2004-09-09 16:21 CARendleman at lbl dot gov
  2004-09-09 17:02 ` [Bug fortran/17379] " pinskia at gcc dot gnu dot org
                   ` (11 more replies)
  0 siblings, 12 replies; 13+ messages in thread
From: CARendleman at lbl dot gov @ 2004-09-09 16:21 UTC (permalink / raw)
  To: gcc-bugs

$ cat generic_bug.f90 
module vector_i_module 
 
  implicit none 
 
  type vector_i 
     integer :: size = 0 
  end type vector_i 
 
  interface size 
     module procedure vector_size_i 
  end interface size 
 
contains 
 
  function vector_size_i(d) result(r) 
    integer :: r 
    type(vector_i), intent(in) :: d 
    r = d%size 
  end function vector_size_i 
 
  subroutine vector_reverse_i(d) 
    type(vector_i), intent(inout) :: d 
    integer :: i,n 
    n = size(d) 
  end subroutine vector_reverse_i 
 
end module vector_i_module 
$ gfortran generic_bug.f90 
 In file generic_bug.f90:24 
 
    n = size(d) 
           1 
Error: Symbol 'size' at (1) has no IMPLICIT type

-- 
           Summary: Generic functions not resolved
           Product: gcc
           Version: 3.5.0
            Status: UNCONFIRMED
          Severity: critical
          Priority: P2
         Component: fortran
        AssignedTo: unassigned at gcc dot gnu dot org
        ReportedBy: CARendleman at lbl dot gov
                CC: gcc-bugs at gcc dot gnu dot org
 GCC build triplet: GNU Fortran 95 (GCC 3.5.0 20040909 (experimental))


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


^ permalink raw reply	[flat|nested] 13+ messages in thread

end of thread, other threads:[~2005-08-23  1:54 UTC | newest]

Thread overview: 13+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2004-09-09 16:21 [Bug fortran/17379] New: Generic functions not resolved CARendleman at lbl dot gov
2004-09-09 17:02 ` [Bug fortran/17379] " pinskia at gcc dot gnu dot org
2004-09-18 11:26 ` tobi at gcc dot gnu dot org
2004-09-23 19:43 ` tobi at gcc dot gnu dot org
2004-09-23 19:44 ` tobi at gcc dot gnu dot org
2004-09-23 19:46 ` tobi at gcc dot gnu dot org
2004-09-23 20:10 ` pinskia at gcc dot gnu dot org
2004-09-27 10:49 ` matthew dot amos at baesystems dot com
2005-01-04 13:41 ` Thomas dot Koenig at online dot de
2005-01-05 18:14 ` CARendleman at lbl dot gov
2005-07-22 19:15 ` paulthomas2 at wanadoo dot fr
2005-08-12 21:47 ` tkoenig at gcc dot gnu dot org
2005-08-23  1:54 ` pinskia at gcc dot gnu dot org

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).