public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug fortran/14928] New: minval intrinsic does not understand mask
@ 2004-04-12 21:12 schnetter at aei dot mpg dot de
  2004-04-12 21:52 ` [Bug fortran/14928] [gfortran] " pinskia at gcc dot gnu dot org
                   ` (13 more replies)
  0 siblings, 14 replies; 15+ messages in thread
From: schnetter at aei dot mpg dot de @ 2004-04-12 21:12 UTC (permalink / raw)
  To: gcc-bugs

The minval intrinsic can take an optional mask argument.  However, the 
following code produces an error: 
 
subroutine a (b, c) 
  implicit none 
  double precision b(10) 
  integer c 
  c = minloc (b, b<0) 
end subroutine a 
 
 
 
The error is 
 
In file minloc.f90:5 
 
  c = minloc (b, b<0) 
               1 
Error: Array index at (1) must be of INTEGER type 
 
 
 
Apparently, gfortran expects this to be a "dim" dimension specifier and not a 
mask.

-- 
           Summary: minval intrinsic does not understand mask
           Product: gcc
           Version: tree-ssa
            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


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


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

end of thread, other threads:[~2004-07-10  0:45 UTC | newest]

Thread overview: 15+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2004-04-12 21:12 [Bug fortran/14928] New: minval intrinsic does not understand mask schnetter at aei dot mpg dot de
2004-04-12 21:52 ` [Bug fortran/14928] [gfortran] " pinskia at gcc dot gnu dot org
2004-04-13  4:14 ` pinskia at gcc dot gnu dot org
2004-04-13 10:11 ` schnetter at aei dot mpg dot de
2004-04-13 12:37 ` pinskia at gcc dot gnu dot org
2004-05-26 23:07 ` pinskia at gcc dot gnu dot org
2004-06-03 18:38 ` tobi at gcc dot gnu dot org
2004-06-03 22:07 ` schnetter at uni-tuebingen dot de
2004-06-03 22:23 ` Tobias dot Schlueter at physik dot uni-muenchen dot de
2004-06-04  8:04 ` schnetter at uni-tuebingen dot de
2004-06-04 22:40 ` Tobias dot Schlueter at physik dot uni-muenchen dot de
2004-06-05 13:11 ` [Bug fortran/14928] [gfortran] minloc " tobi at gcc dot gnu dot org
2004-06-14 15:56 ` cvs-commit at gcc dot gnu dot org
2004-06-14 16:06 ` tobi at gcc dot gnu dot org
2004-07-10  0:45 ` [Bug fortran/14928] " 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).