public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug fortran/34665]  New: Cannot pass scalar to array argument 'a'
@ 2008-01-03 21:44 jv244 at cam dot ac dot uk
  2008-01-04  7:21 ` [Bug fortran/34665] " burnus at gcc dot gnu dot org
                   ` (9 more replies)
  0 siblings, 10 replies; 11+ messages in thread
From: jv244 at cam dot ac dot uk @ 2008-01-03 21:44 UTC (permalink / raw)
  To: gcc-bugs

The following is non-standard and the compiler should probably generate a
warning/error with '-pedantic -std=f95', but does not do so with
gcc version 4.3.0 20080103 (experimental) [trunk revision 131300] (GCC)

CONTAINS
SUBROUTINE S1(a)
 real, dimension(:) :: a
 call s2(a(1))
END SUBROUTINE S1
SUBROUTINE S2(a)
 real, dimension(*) :: a
END SUBROUTINE S2
END


-- 
           Summary: Cannot pass scalar to array argument 'a'
           Product: gcc
           Version: 4.3.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: fortran
        AssignedTo: unassigned at gcc dot gnu dot org
        ReportedBy: jv244 at cam dot ac dot uk


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


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

end of thread, other threads:[~2008-01-13 21:50 UTC | newest]

Thread overview: 11+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2008-01-03 21:44 [Bug fortran/34665] New: Cannot pass scalar to array argument 'a' jv244 at cam dot ac dot uk
2008-01-04  7:21 ` [Bug fortran/34665] " burnus at gcc dot gnu dot org
2008-01-04  9:39 ` tkoenig at gcc dot gnu dot org
2008-01-04 22:39 ` burnus at gcc dot gnu dot org
2008-01-05 16:13 ` tkoenig at gcc dot gnu dot org
2008-01-07  0:39 ` burnus at gcc dot gnu dot org
2008-01-12 15:34 ` burnus at gcc dot gnu dot org
2008-01-12 21:45 ` burnus at gcc dot gnu dot org
2008-01-13 17:58 ` burnus at gcc dot gnu dot org
2008-01-13 21:55 ` burnus at gcc dot gnu dot org
2008-01-13 22:16 ` burnus 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).