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

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).