This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug libfortran/31726] minloc/maxloc: wrong results with empty array
- From: "dfranke at gcc dot gnu dot org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 27 Apr 2007 10:22:51 -0000
- Subject: [Bug libfortran/31726] minloc/maxloc: wrong results with empty array
- References: <bug-31726-13648@http.gcc.gnu.org/bugzilla/>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- Comment #1 from dfranke at gcc dot gnu dot org 2007-04-27 11:22 -------
MINVAL/MAXVAL are ok.
F2003, 13.7.79, MINVAL, Result Value:
Case (i): [...] If ARRAY has size zero and type integer or real, the result
has the value of the positive number of the largest magnitude
supported by the processor for numbers of the type and kind type
parameter of ARRAY. If ARRAY has size zero and type character,
--
dfranke at gcc dot gnu dot org changed:
What |Removed |Added
----------------------------------------------------------------------------
Known to fail| |4.1.1 4.2.0 4.3.0
Summary|minloc/minval: wrong results|minloc/maxloc: wrong results
|with empty array |with empty array
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=31726