public inbox for gcc-bugs@sourceware.org help / color / mirror / Atom feed
* [Bug fortran/17713] New: Rejects call where array element is used as scalar @ 2004-09-28 13:34 schnetter at aei dot mpg dot de 2004-09-28 13:35 ` [Bug fortran/17713] " schnetter at aei dot mpg dot de ` (6 more replies) 0 siblings, 7 replies; 8+ messages in thread From: schnetter at aei dot mpg dot de @ 2004-09-28 13:34 UTC (permalink / raw) To: gcc-bugs GNU Fortran 95 (GCC 4.0.0 20040928 (experimental)) complains: $ ~/gcc/bin/gfortran -c typerank.f90 In file typerank.f90:26 call gauss( x(i), a, yan, dyda, ma ) 1 Error: Type/rank mismatch in argument 'x' at (1) I cannot see what is wrong here. The type is "double precision", the rank is 0 (scalar), and the intent is (in) for both the dummy and the actual argument. -- Summary: Rejects call where array element is used as scalar Product: gcc Version: 4.0.0 Status: UNCONFIRMED Severity: normal Priority: P2 Component: fortran AssignedTo: unassigned at gcc dot gnu dot org ReportedBy: schnetter at aei dot mpg dot de CC: gcc-bugs at gcc dot gnu dot org GCC build triplet: i686-pc-linux-gnu GCC host triplet: i686-pc-linux-gnu GCC target triplet: i686-pc-linux-gnu http://gcc.gnu.org/bugzilla/show_bug.cgi?id=17713 ^ permalink raw reply [flat|nested] 8+ messages in thread
* [Bug fortran/17713] Rejects call where array element is used as scalar 2004-09-28 13:34 [Bug fortran/17713] New: Rejects call where array element is used as scalar schnetter at aei dot mpg dot de @ 2004-09-28 13:35 ` schnetter at aei dot mpg dot de 2004-09-28 13:53 ` pinskia at gcc dot gnu dot org ` (5 subsequent siblings) 6 siblings, 0 replies; 8+ messages in thread From: schnetter at aei dot mpg dot de @ 2004-09-28 13:35 UTC (permalink / raw) To: gcc-bugs ------- Additional Comments From schnetter at aei dot mpg dot de 2004-09-28 13:34 ------- Created an attachment (id=7230) --> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=7230&action=view) failing source code -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=17713 ^ permalink raw reply [flat|nested] 8+ messages in thread
* [Bug fortran/17713] Rejects call where array element is used as scalar 2004-09-28 13:34 [Bug fortran/17713] New: Rejects call where array element is used as scalar schnetter at aei dot mpg dot de 2004-09-28 13:35 ` [Bug fortran/17713] " schnetter at aei dot mpg dot de @ 2004-09-28 13:53 ` pinskia at gcc dot gnu dot org 2004-09-28 16:59 ` tobi at gcc dot gnu dot org ` (4 subsequent siblings) 6 siblings, 0 replies; 8+ messages in thread From: pinskia at gcc dot gnu dot org @ 2004-09-28 13:53 UTC (permalink / raw) To: gcc-bugs ------- Additional Comments From pinskia at gcc dot gnu dot org 2004-09-28 13:37 ------- *** Bug 17712 has been marked as a duplicate of this bug. *** -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=17713 ^ permalink raw reply [flat|nested] 8+ messages in thread
* [Bug fortran/17713] Rejects call where array element is used as scalar 2004-09-28 13:34 [Bug fortran/17713] New: Rejects call where array element is used as scalar schnetter at aei dot mpg dot de 2004-09-28 13:35 ` [Bug fortran/17713] " schnetter at aei dot mpg dot de 2004-09-28 13:53 ` pinskia at gcc dot gnu dot org @ 2004-09-28 16:59 ` tobi at gcc dot gnu dot org 2004-10-10 18:15 ` pinskia at gcc dot gnu dot org ` (3 subsequent siblings) 6 siblings, 0 replies; 8+ messages in thread From: tobi at gcc dot gnu dot org @ 2004-09-28 16:59 UTC (permalink / raw) To: gcc-bugs -- What |Removed |Added ---------------------------------------------------------------------------- Status|UNCONFIRMED |NEW Ever Confirmed| |1 Last reconfirmed|0000-00-00 00:00:00 |2004-09-28 16:59:31 date| | http://gcc.gnu.org/bugzilla/show_bug.cgi?id=17713 ^ permalink raw reply [flat|nested] 8+ messages in thread
* [Bug fortran/17713] Rejects call where array element is used as scalar 2004-09-28 13:34 [Bug fortran/17713] New: Rejects call where array element is used as scalar schnetter at aei dot mpg dot de ` (2 preceding siblings ...) 2004-09-28 16:59 ` tobi at gcc dot gnu dot org @ 2004-10-10 18:15 ` pinskia at gcc dot gnu dot org 2004-11-03 0:54 ` cvs-commit at gcc dot gnu dot org ` (2 subsequent siblings) 6 siblings, 0 replies; 8+ messages in thread From: pinskia at gcc dot gnu dot org @ 2004-10-10 18:15 UTC (permalink / raw) To: gcc-bugs ------- Additional Comments From pinskia at gcc dot gnu dot org 2004-10-10 18:15 ------- Patch here: <http://gcc.gnu.org/ml/gcc-patches/2004-10/msg00856.html>. -- What |Removed |Added ---------------------------------------------------------------------------- Keywords| |patch, rejects-valid http://gcc.gnu.org/bugzilla/show_bug.cgi?id=17713 ^ permalink raw reply [flat|nested] 8+ messages in thread
* [Bug fortran/17713] Rejects call where array element is used as scalar 2004-09-28 13:34 [Bug fortran/17713] New: Rejects call where array element is used as scalar schnetter at aei dot mpg dot de ` (3 preceding siblings ...) 2004-10-10 18:15 ` pinskia at gcc dot gnu dot org @ 2004-11-03 0:54 ` cvs-commit at gcc dot gnu dot org 2004-11-03 0:58 ` tobi at gcc dot gnu dot org 2004-11-03 1:08 ` tobi at gcc dot gnu dot org 6 siblings, 0 replies; 8+ messages in thread From: cvs-commit at gcc dot gnu dot org @ 2004-11-03 0:54 UTC (permalink / raw) To: gcc-bugs ------- Additional Comments From cvs-commit at gcc dot gnu dot org 2004-11-03 00:54 ------- Subject: Bug 17713 CVSROOT: /cvs/gcc Module name: gcc Changes by: tobi@gcc.gnu.org 2004-11-03 00:54:02 Modified files: gcc/fortran : ChangeLog module.c gcc/testsuite : ChangeLog Added files: gcc/testsuite/gfortran.dg: generic_1.f90 generic_2.f90 generic_3.f90 Log message: fortran/ PR fortran/17535 PR fortran/17583 PR fortran/17713 * module.c (write_symbol1): Set module_name for dummy arguments. testsuite/ PR fortran/17535 PR fortran/17583 PR fortran/17713 * gfortran.dg/generic_[123].f90: New testcases. Patches: http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/fortran/ChangeLog.diff?cvsroot=gcc&r1=1.246&r2=1.247 http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/fortran/module.c.diff?cvsroot=gcc&r1=1.19&r2=1.20 http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/testsuite/ChangeLog.diff?cvsroot=gcc&r1=1.4536&r2=1.4537 http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/testsuite/gfortran.dg/generic_1.f90.diff?cvsroot=gcc&r1=NONE&r2=1.1 http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/testsuite/gfortran.dg/generic_2.f90.diff?cvsroot=gcc&r1=NONE&r2=1.1 http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/testsuite/gfortran.dg/generic_3.f90.diff?cvsroot=gcc&r1=NONE&r2=1.1 -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=17713 ^ permalink raw reply [flat|nested] 8+ messages in thread
* [Bug fortran/17713] Rejects call where array element is used as scalar 2004-09-28 13:34 [Bug fortran/17713] New: Rejects call where array element is used as scalar schnetter at aei dot mpg dot de ` (4 preceding siblings ...) 2004-11-03 0:54 ` cvs-commit at gcc dot gnu dot org @ 2004-11-03 0:58 ` tobi at gcc dot gnu dot org 2004-11-03 1:08 ` tobi at gcc dot gnu dot org 6 siblings, 0 replies; 8+ messages in thread From: tobi at gcc dot gnu dot org @ 2004-11-03 0:58 UTC (permalink / raw) To: gcc-bugs ------- Additional Comments From tobi at gcc dot gnu dot org 2004-11-03 00:58 ------- Fixed. -- What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |RESOLVED Resolution| |FIXED http://gcc.gnu.org/bugzilla/show_bug.cgi?id=17713 ^ permalink raw reply [flat|nested] 8+ messages in thread
* [Bug fortran/17713] Rejects call where array element is used as scalar 2004-09-28 13:34 [Bug fortran/17713] New: Rejects call where array element is used as scalar schnetter at aei dot mpg dot de ` (5 preceding siblings ...) 2004-11-03 0:58 ` tobi at gcc dot gnu dot org @ 2004-11-03 1:08 ` tobi at gcc dot gnu dot org 6 siblings, 0 replies; 8+ messages in thread From: tobi at gcc dot gnu dot org @ 2004-11-03 1:08 UTC (permalink / raw) To: gcc-bugs -- What |Removed |Added ---------------------------------------------------------------------------- Target Milestone|--- |4.0.0 http://gcc.gnu.org/bugzilla/show_bug.cgi?id=17713 ^ permalink raw reply [flat|nested] 8+ messages in thread
end of thread, other threads:[~2004-11-03 1:08 UTC | newest] Thread overview: 8+ messages (download: mbox.gz / follow: Atom feed) -- links below jump to the message on this page -- 2004-09-28 13:34 [Bug fortran/17713] New: Rejects call where array element is used as scalar schnetter at aei dot mpg dot de 2004-09-28 13:35 ` [Bug fortran/17713] " schnetter at aei dot mpg dot de 2004-09-28 13:53 ` pinskia at gcc dot gnu dot org 2004-09-28 16:59 ` tobi at gcc dot gnu dot org 2004-10-10 18:15 ` pinskia at gcc dot gnu dot org 2004-11-03 0:54 ` cvs-commit at gcc dot gnu dot org 2004-11-03 0:58 ` tobi at gcc dot gnu dot org 2004-11-03 1:08 ` tobi 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).