[Bug libfortran/31726] minloc/maxloc: wrong results with empty array
dfranke at gcc dot gnu dot org
gcc-bugzilla@gcc.gnu.org
Fri Apr 27 10:23:00 GMT 2007
------- 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
More information about the Gcc-bugs
mailing list