public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug libfortran/47894] New: Documentation text for VERIFY intrinsic function is wrong.
@ 2011-02-25 12:51 thenlich at users dot sourceforge.net
2011-02-26 18:24 ` [Bug libfortran/47894] " fxcoudert at gcc dot gnu.org
` (4 more replies)
0 siblings, 5 replies; 6+ messages in thread
From: thenlich at users dot sourceforge.net @ 2011-02-25 12:51 UTC (permalink / raw)
To: gcc-bugs
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=47894
Summary: Documentation text for VERIFY intrinsic function is
wrong.
Product: gcc
Version: 4.6.0
Status: UNCONFIRMED
Severity: normal
Priority: P3
Component: libfortran
AssignedTo: unassigned@gcc.gnu.org
ReportedBy: thenlich@users.sourceforge.net
The documentation states:
"Verifies that all the characters in a SET are present in a STRING."
but this should read:
"Verifies that no other characters than those in a SET are present in a
STRING."
or:
"Verifies that all the characters in STRING are present in a SET."
Also, the sentence:
"If all characters of SET are found in STRING, the result is zero."
again is wrong and should read:
"If no characters not in SET are found in STRING, the result is zero."
or
"If only characters from SET are found in STRING, the result is zero."
or
"If all characters of STRING are found in SET, the result is zero."
or, as in Fortran 2008:
"The value of the result is zero if each character in STRING is in SET or if
STRING has zero length."
The headline is also misleading:
"VERIFY — Scan a string for the absence of a set of characters"
because the string is actually scanned for the absence (or presence) of
characters NOT in SET (mathematically, that's a complement of SET, which is
also a set, but confusing to read)
Maybe it should read:
"VERIFY — Scan a string for the absence of characters not in a set"
or, as in Fortran 2008:
"Search for a character not in a given set."
^ permalink raw reply [flat|nested] 6+ messages in thread
* [Bug libfortran/47894] Documentation text for VERIFY intrinsic function is wrong.
2011-02-25 12:51 [Bug libfortran/47894] New: Documentation text for VERIFY intrinsic function is wrong thenlich at users dot sourceforge.net
@ 2011-02-26 18:24 ` fxcoudert at gcc dot gnu.org
2011-02-26 18:32 ` fxcoudert at gcc dot gnu.org
` (3 subsequent siblings)
4 siblings, 0 replies; 6+ messages in thread
From: fxcoudert at gcc dot gnu.org @ 2011-02-26 18:24 UTC (permalink / raw)
To: gcc-bugs
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=47894
--- Comment #1 from Francois-Xavier Coudert <fxcoudert at gcc dot gnu.org> 2011-02-26 16:34:52 UTC ---
Author: fxcoudert
Date: Sat Feb 26 16:34:47 2011
New Revision: 170519
URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=170519
Log:
PR fortran/47894
* intrinsic.texi: Fix doc of the VERIFY intrinsic.
Modified:
trunk/gcc/fortran/ChangeLog
trunk/gcc/fortran/intrinsic.texi
^ permalink raw reply [flat|nested] 6+ messages in thread
* [Bug libfortran/47894] Documentation text for VERIFY intrinsic function is wrong.
2011-02-25 12:51 [Bug libfortran/47894] New: Documentation text for VERIFY intrinsic function is wrong thenlich at users dot sourceforge.net
2011-02-26 18:24 ` [Bug libfortran/47894] " fxcoudert at gcc dot gnu.org
@ 2011-02-26 18:32 ` fxcoudert at gcc dot gnu.org
2011-02-28 8:16 ` thenlich at users dot sourceforge.net
` (2 subsequent siblings)
4 siblings, 0 replies; 6+ messages in thread
From: fxcoudert at gcc dot gnu.org @ 2011-02-26 18:32 UTC (permalink / raw)
To: gcc-bugs
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=47894
Francois-Xavier Coudert <fxcoudert at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|UNCONFIRMED |RESOLVED
Resolution| |FIXED
Target Milestone|--- |4.6.0
--- Comment #2 from Francois-Xavier Coudert <fxcoudert at gcc dot gnu.org> 2011-02-26 16:36:01 UTC ---
Fixed on trunk.
^ permalink raw reply [flat|nested] 6+ messages in thread
* [Bug libfortran/47894] Documentation text for VERIFY intrinsic function is wrong.
2011-02-25 12:51 [Bug libfortran/47894] New: Documentation text for VERIFY intrinsic function is wrong thenlich at users dot sourceforge.net
2011-02-26 18:24 ` [Bug libfortran/47894] " fxcoudert at gcc dot gnu.org
2011-02-26 18:32 ` fxcoudert at gcc dot gnu.org
@ 2011-02-28 8:16 ` thenlich at users dot sourceforge.net
2011-02-28 8:55 ` fxcoudert at gcc dot gnu.org
2011-02-28 8:56 ` fxcoudert at gcc dot gnu.org
4 siblings, 0 replies; 6+ messages in thread
From: thenlich at users dot sourceforge.net @ 2011-02-28 8:16 UTC (permalink / raw)
To: gcc-bugs
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=47894
Thomas Henlich <thenlich at users dot sourceforge.net> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|RESOLVED |UNCONFIRMED
Resolution|FIXED |
--- Comment #3 from Thomas Henlich <thenlich at users dot sourceforge.net> 2011-02-28 07:48:39 UTC ---
The revised first sentence:
"Verifies that all the characters in STRING belong the set of characters in
SET."
is missing a "to" after "belong". All your string are belong to us ;-)
^ permalink raw reply [flat|nested] 6+ messages in thread
* [Bug libfortran/47894] Documentation text for VERIFY intrinsic function is wrong.
2011-02-25 12:51 [Bug libfortran/47894] New: Documentation text for VERIFY intrinsic function is wrong thenlich at users dot sourceforge.net
` (2 preceding siblings ...)
2011-02-28 8:16 ` thenlich at users dot sourceforge.net
@ 2011-02-28 8:55 ` fxcoudert at gcc dot gnu.org
2011-02-28 8:56 ` fxcoudert at gcc dot gnu.org
4 siblings, 0 replies; 6+ messages in thread
From: fxcoudert at gcc dot gnu.org @ 2011-02-28 8:55 UTC (permalink / raw)
To: gcc-bugs
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=47894
--- Comment #4 from Francois-Xavier Coudert <fxcoudert at gcc dot gnu.org> 2011-02-28 08:16:24 UTC ---
Author: fxcoudert
Date: Mon Feb 28 08:16:21 2011
New Revision: 170557
URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=170557
Log:
PR fortran/47894
* intrinsic.texi: Fix doc of the VERIFY intrinsic.
Modified:
trunk/gcc/fortran/ChangeLog
trunk/gcc/fortran/intrinsic.texi
^ permalink raw reply [flat|nested] 6+ messages in thread
* [Bug libfortran/47894] Documentation text for VERIFY intrinsic function is wrong.
2011-02-25 12:51 [Bug libfortran/47894] New: Documentation text for VERIFY intrinsic function is wrong thenlich at users dot sourceforge.net
` (3 preceding siblings ...)
2011-02-28 8:55 ` fxcoudert at gcc dot gnu.org
@ 2011-02-28 8:56 ` fxcoudert at gcc dot gnu.org
4 siblings, 0 replies; 6+ messages in thread
From: fxcoudert at gcc dot gnu.org @ 2011-02-28 8:56 UTC (permalink / raw)
To: gcc-bugs
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=47894
Francois-Xavier Coudert <fxcoudert at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|UNCONFIRMED |RESOLVED
Resolution| |FIXED
--- Comment #5 from Francois-Xavier Coudert <fxcoudert at gcc dot gnu.org> 2011-02-28 08:17:59 UTC ---
Fixed again, thanks again!
^ permalink raw reply [flat|nested] 6+ messages in thread
end of thread, other threads:[~2011-02-28 8:18 UTC | newest]
Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2011-02-25 12:51 [Bug libfortran/47894] New: Documentation text for VERIFY intrinsic function is wrong thenlich at users dot sourceforge.net
2011-02-26 18:24 ` [Bug libfortran/47894] " fxcoudert at gcc dot gnu.org
2011-02-26 18:32 ` fxcoudert at gcc dot gnu.org
2011-02-28 8:16 ` thenlich at users dot sourceforge.net
2011-02-28 8:55 ` fxcoudert at gcc dot gnu.org
2011-02-28 8:56 ` fxcoudert at gcc dot gnu.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).