public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug fortran/29828]  New: Fortran 2003: MIN and MAX with character variables
@ 2006-11-14 10:47 burnus at gcc dot gnu dot org
  2006-11-14 14:17 ` [Bug fortran/29828] " pault at gcc dot gnu dot org
                   ` (3 more replies)
  0 siblings, 4 replies; 5+ messages in thread
From: burnus at gcc dot gnu dot org @ 2006-11-14 10:47 UTC (permalink / raw)
  To: gcc-bugs

[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #1: Type: text/plain, Size: 1024 bytes --]

See:
"13.7.76 MIN (A1, A2 [, A3, ...])
For arguments of character type, the result is the value that would be selected
by application of intrinsic relational operators; that is, the collating
sequence for characters with the kind type parameter of the arguments is
applied. If the selected argument is shorter than the longest argument, the 20
result is extended with blanks on the right to the length of the longest
argument."

"Example. [...] MIN (”A”, ”YY”) has the value “A “, and
22 MIN ((/”Z”, ”A”/), (/”YY”, ”B “/)) has the value (/”YY”, ”A “/)."

Analogously for:
"13.7.71 MAX (A1, A2 [, A3, ...])"


-- 
           Summary: Fortran 2003: MIN and MAX with character variables
           Product: gcc
           Version: 4.3.0
            Status: UNCONFIRMED
          Severity: enhancement
          Priority: P3
         Component: fortran
        AssignedTo: unassigned at gcc dot gnu dot org
        ReportedBy: burnus at gcc dot gnu dot org


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


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

end of thread, other threads:[~2007-08-06 20:49 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2006-11-14 10:47 [Bug fortran/29828] New: Fortran 2003: MIN and MAX with character variables burnus at gcc dot gnu dot org
2006-11-14 14:17 ` [Bug fortran/29828] " pault at gcc dot gnu dot org
2007-08-05 12:02 ` [Bug fortran/29828] [F2003] " fxcoudert at gcc dot gnu dot org
2007-08-06 20:47 ` fxcoudert at gcc dot gnu dot org
2007-08-06 20:49 ` fxcoudert 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).