public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug fortran/36233]  New: [Regression 4.4,4.3] Array valued actual procedure argument rejected
@ 2008-05-13 20:40 pault at gcc dot gnu dot org
  2008-05-13 21:35 ` [Bug fortran/36233] " pault at gcc dot gnu dot org
                   ` (7 more replies)
  0 siblings, 8 replies; 9+ messages in thread
From: pault at gcc dot gnu dot org @ 2008-05-13 20:40 UTC (permalink / raw)
  To: gcc-bugs

module mod
contains
  function foo (arg)
    integer foo (10)
    integer arg
    foo = arg
  end function
end module

  use mod
  call bar (foo)
contains
  subroutine bar (arg)
    interface
      function arg (x)
        integer arg (10)
        integer x
      end function
    end interface
    print *, arg (10)
  end subroutine
end

produces

test.f90:11.12:

  call bar (foo)
           1
Warning: Actual argument contains too few elements for dummy argument 'arg'
(1/10) at (1)


-- 
           Summary: [Regression 4.4,4.3] Array valued actual procedure
                    argument rejected
           Product: gcc
           Version: 4.4.0
            Status: UNCONFIRMED
          Keywords: rejects-valid
          Severity: normal
          Priority: P3
         Component: fortran
        AssignedTo: unassigned at gcc dot gnu dot org
        ReportedBy: pault at gcc dot gnu dot org


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


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

end of thread, other threads:[~2008-05-22 20:15 UTC | newest]

Thread overview: 9+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2008-05-13 20:40 [Bug fortran/36233] New: [Regression 4.4,4.3] Array valued actual procedure argument rejected pault at gcc dot gnu dot org
2008-05-13 21:35 ` [Bug fortran/36233] " pault at gcc dot gnu dot org
2008-05-14  0:04 ` jvdelisle at gcc dot gnu dot org
2008-05-14  5:16 ` pault at gcc dot gnu dot org
2008-05-14 20:45 ` pault at gcc dot gnu dot org
2008-05-14 21:34 ` pault at gcc dot gnu dot org
2008-05-17  7:12 ` pault at gcc dot gnu dot org
2008-05-17  8:21 ` pault at gcc dot gnu dot org
2008-05-22 20:15 ` [Bug fortran/36233] [4.3/4.4 Regression] " 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).