This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug libfortran/31726] minloc/maxloc: wrong results with empty array



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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]