public inbox for gcc-bugs@sourceware.org help / color / mirror / Atom feed
From: "jv244 at cam dot ac dot uk" <gcc-bugzilla@gcc.gnu.org> To: gcc-bugs@gcc.gnu.org Subject: [Bug fortran/34665] New: Cannot pass scalar to array argument 'a' Date: Thu, 03 Jan 2008 21:44:00 -0000 [thread overview] Message-ID: <bug-34665-6642@http.gcc.gnu.org/bugzilla/> (raw) 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
next reply other threads:[~2008-01-03 20:23 UTC|newest] Thread overview: 11+ messages / expand[flat|nested] mbox.gz Atom feed top 2008-01-03 21:44 jv244 at cam dot ac dot uk [this message] 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
Reply instructions: You may reply publicly to this message via plain-text email using any one of the following methods: * Save the following mbox file, import it into your mail client, and reply-to-all from there: mbox Avoid top-posting and favor interleaved quoting: https://en.wikipedia.org/wiki/Posting_style#Interleaved_style * Reply using the --to, --cc, and --in-reply-to switches of git-send-email(1): git send-email \ --in-reply-to=bug-34665-6642@http.gcc.gnu.org/bugzilla/ \ --to=gcc-bugzilla@gcc.gnu.org \ --cc=gcc-bugs@gcc.gnu.org \ /path/to/YOUR_REPLY https://kernel.org/pub/software/scm/git/docs/git-send-email.html * If your mail client supports setting the In-Reply-To header via mailto: links, try the mailto: linkBe sure your reply has a Subject: header at the top and a blank line before the message body.
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).