public inbox for gcc-bugs@sourceware.org help / color / mirror / Atom feed
* [Bug fortran/20893] New: error needed @ 2005-04-08 16:04 jv244 at cam dot ac dot uk 2005-05-19 17:20 ` [Bug fortran/20893] unconditional use of optional argument not detected tobi at gcc dot gnu dot org 2005-09-30 20:50 ` pinskia at gcc dot gnu dot org 0 siblings, 2 replies; 3+ messages in thread From: jv244 at cam dot ac dot uk @ 2005-04-08 16:04 UTC (permalink / raw) To: gcc-bugs The following is non-standard and the compiler should probably generate a warning/error with '-pedantic -std=f95' CALL T1(1,2) CONTAINS SUBROUTINE T1(A1,A2,A3) INTEGER :: A1,A2 INTEGER, OPTIONAL :: A3(2) write(6,*) MAX(A1,A2,A3) END SUBROUTINE END -- Summary: error needed Product: gcc Version: 4.1.0 Status: UNCONFIRMED Severity: normal Priority: P2 Component: fortran AssignedTo: unassigned at gcc dot gnu dot org ReportedBy: jv244 at cam dot ac dot uk CC: gcc-bugs at gcc dot gnu dot org GCC target triplet: i686-pc-linux-gnu http://gcc.gnu.org/bugzilla/show_bug.cgi?id=20893 ^ permalink raw reply [flat|nested] 3+ messages in thread
* [Bug fortran/20893] unconditional use of optional argument not detected 2005-04-08 16:04 [Bug fortran/20893] New: error needed jv244 at cam dot ac dot uk @ 2005-05-19 17:20 ` tobi at gcc dot gnu dot org 2005-09-30 20:50 ` pinskia at gcc dot gnu dot org 1 sibling, 0 replies; 3+ messages in thread From: tobi at gcc dot gnu dot org @ 2005-05-19 17:20 UTC (permalink / raw) To: gcc-bugs ------- Additional Comments From tobi at gcc dot gnu dot org 2005-05-19 17:19 ------- to avoid confusion about what's wrong: MAX(A1,A2,A3) is legal with A1, A2 scalar and A3 array-valued. -- What |Removed |Added ---------------------------------------------------------------------------- Severity|normal |enhancement Status|UNCONFIRMED |NEW Ever Confirmed| |1 Keywords| |accepts-invalid Last reconfirmed|0000-00-00 00:00:00 |2005-05-19 17:19:44 date| | Summary|error needed |unconditional use of | |optional argument not | |detected http://gcc.gnu.org/bugzilla/show_bug.cgi?id=20893 ^ permalink raw reply [flat|nested] 3+ messages in thread
* [Bug fortran/20893] unconditional use of optional argument not detected 2005-04-08 16:04 [Bug fortran/20893] New: error needed jv244 at cam dot ac dot uk 2005-05-19 17:20 ` [Bug fortran/20893] unconditional use of optional argument not detected tobi at gcc dot gnu dot org @ 2005-09-30 20:50 ` pinskia at gcc dot gnu dot org 1 sibling, 0 replies; 3+ messages in thread From: pinskia at gcc dot gnu dot org @ 2005-09-30 20:50 UTC (permalink / raw) To: gcc-bugs -- What |Removed |Added ---------------------------------------------------------------------------- Severity|enhancement |minor GCC target triplet|i686-pc-linux-gnu | Last reconfirmed|2005-05-19 17:19:44 |2005-09-30 20:50:20 date| | http://gcc.gnu.org/bugzilla/show_bug.cgi?id=20893 ^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2005-09-30 20:50 UTC | newest] Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed) -- links below jump to the message on this page -- 2005-04-08 16:04 [Bug fortran/20893] New: error needed jv244 at cam dot ac dot uk 2005-05-19 17:20 ` [Bug fortran/20893] unconditional use of optional argument not detected tobi at gcc dot gnu dot org 2005-09-30 20:50 ` 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).