public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug fortran/31234] New: Thread-safety of random_number should be documented.
@ 2007-03-16 22:33 brooks at gcc dot gnu dot org
2007-03-17 11:23 ` [Bug fortran/31234] " fxcoudert at gcc dot gnu dot org
` (5 more replies)
0 siblings, 6 replies; 7+ messages in thread
From: brooks at gcc dot gnu dot org @ 2007-03-16 22:33 UTC (permalink / raw)
To: gcc-bugs
As noted in this message:
http://gcc.gnu.org/ml/fortran/2007-03/msg00339.html
This should probably be documented in the manual.
--
Summary: Thread-safety of random_number should be documented.
Product: gcc
Version: 4.3.0
Status: UNCONFIRMED
Keywords: documentation
Severity: enhancement
Priority: P3
Component: fortran
AssignedTo: unassigned at gcc dot gnu dot org
ReportedBy: brooks at gcc dot gnu dot org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=31234
^ permalink raw reply [flat|nested] 7+ messages in thread
* [Bug fortran/31234] Thread-safety of random_number should be documented.
2007-03-16 22:33 [Bug fortran/31234] New: Thread-safety of random_number should be documented brooks at gcc dot gnu dot org
@ 2007-03-17 11:23 ` fxcoudert at gcc dot gnu dot org
2007-03-21 14:11 ` dfranke at gcc dot gnu dot org
` (4 subsequent siblings)
5 siblings, 0 replies; 7+ messages in thread
From: fxcoudert at gcc dot gnu dot org @ 2007-03-17 11:23 UTC (permalink / raw)
To: gcc-bugs
--
fxcoudert at gcc dot gnu dot org changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|UNCONFIRMED |NEW
Ever Confirmed|0 |1
Last reconfirmed|0000-00-00 00:00:00 |2007-03-17 11:22:44
date| |
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=31234
^ permalink raw reply [flat|nested] 7+ messages in thread
* [Bug fortran/31234] Thread-safety of random_number should be documented.
2007-03-16 22:33 [Bug fortran/31234] New: Thread-safety of random_number should be documented brooks at gcc dot gnu dot org
2007-03-17 11:23 ` [Bug fortran/31234] " fxcoudert at gcc dot gnu dot org
@ 2007-03-21 14:11 ` dfranke at gcc dot gnu dot org
2007-03-23 10:05 ` dfranke at gcc dot gnu dot org
` (3 subsequent siblings)
5 siblings, 0 replies; 7+ messages in thread
From: dfranke at gcc dot gnu dot org @ 2007-03-21 14:11 UTC (permalink / raw)
To: gcc-bugs
------- Comment #1 from dfranke at gcc dot gnu dot org 2007-03-21 14:11 -------
Brooks, maybe not.
Thread safety, in the context it was asked for, still needs to be proved.
Having mutexes within the code is fine to save the states from overwriting each
other (it is an unexpected serialisation point, though). Nevertheless, as
RANDOM_NUMBER is expected to give uniformely distributed numbers from 0.0 to
1.0 on a single thread, this needs not to be the case if multiple threads draw
from the same series as currently implemented.
I'll run some tests as soon as possible and report back to the mailing list.
--
dfranke at gcc dot gnu dot org changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |dfranke at gcc dot gnu dot
| |org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=31234
^ permalink raw reply [flat|nested] 7+ messages in thread
* [Bug fortran/31234] Thread-safety of random_number should be documented.
2007-03-16 22:33 [Bug fortran/31234] New: Thread-safety of random_number should be documented brooks at gcc dot gnu dot org
2007-03-17 11:23 ` [Bug fortran/31234] " fxcoudert at gcc dot gnu dot org
2007-03-21 14:11 ` dfranke at gcc dot gnu dot org
@ 2007-03-23 10:05 ` dfranke at gcc dot gnu dot org
2007-04-12 18:23 ` dfranke at gcc dot gnu dot org
` (2 subsequent siblings)
5 siblings, 0 replies; 7+ messages in thread
From: dfranke at gcc dot gnu dot org @ 2007-03-23 10:05 UTC (permalink / raw)
To: gcc-bugs
------- Comment #2 from dfranke at gcc dot gnu dot org 2007-03-23 10:05 -------
> I'll run some tests as soon as possible and report back to the mailing list.
See
http://gcc.gnu.org/ml/fortran/2007-03/msg00440.html
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=31234
^ permalink raw reply [flat|nested] 7+ messages in thread
* [Bug fortran/31234] Thread-safety of random_number should be documented.
2007-03-16 22:33 [Bug fortran/31234] New: Thread-safety of random_number should be documented brooks at gcc dot gnu dot org
` (2 preceding siblings ...)
2007-03-23 10:05 ` dfranke at gcc dot gnu dot org
@ 2007-04-12 18:23 ` dfranke at gcc dot gnu dot org
2007-04-12 18:27 ` dfranke at gcc dot gnu dot org
2007-04-12 18:29 ` dfranke at gcc dot gnu dot org
5 siblings, 0 replies; 7+ messages in thread
From: dfranke at gcc dot gnu dot org @ 2007-04-12 18:23 UTC (permalink / raw)
To: gcc-bugs
------- Comment #3 from dfranke at gcc dot gnu dot org 2007-04-12 19:23 -------
Subject: Bug 31234
Author: dfranke
Date: Thu Apr 12 19:23:03 2007
New Revision: 123760
URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=123760
Log:
2007-04-12 Daniel Franke <franke.daniel@gmail.com>
PR fortran/31234
* intrinsic.texi (RANDOM_SEED, RANDOM_NUMBER): New.
Modified:
trunk/gcc/fortran/ChangeLog
trunk/gcc/fortran/intrinsic.texi
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=31234
^ permalink raw reply [flat|nested] 7+ messages in thread
* [Bug fortran/31234] Thread-safety of random_number should be documented.
2007-03-16 22:33 [Bug fortran/31234] New: Thread-safety of random_number should be documented brooks at gcc dot gnu dot org
` (3 preceding siblings ...)
2007-04-12 18:23 ` dfranke at gcc dot gnu dot org
@ 2007-04-12 18:27 ` dfranke at gcc dot gnu dot org
2007-04-12 18:29 ` dfranke at gcc dot gnu dot org
5 siblings, 0 replies; 7+ messages in thread
From: dfranke at gcc dot gnu dot org @ 2007-04-12 18:27 UTC (permalink / raw)
To: gcc-bugs
------- Comment #4 from dfranke at gcc dot gnu dot org 2007-04-12 19:27 -------
Subject: Bug 31234
Author: dfranke
Date: Thu Apr 12 19:27:07 2007
New Revision: 123761
URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=123761
Log:
2007-04-12 Daniel Franke <franke.daniel@gmail.com>
PR fortran/31234
* intrinsic.texi (RANDOM_SEED, RANDOM_NUMBER): New.
Modified:
branches/gcc-4_2-branch/gcc/fortran/ChangeLog
branches/gcc-4_2-branch/gcc/fortran/intrinsic.texi
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=31234
^ permalink raw reply [flat|nested] 7+ messages in thread
* [Bug fortran/31234] Thread-safety of random_number should be documented.
2007-03-16 22:33 [Bug fortran/31234] New: Thread-safety of random_number should be documented brooks at gcc dot gnu dot org
` (4 preceding siblings ...)
2007-04-12 18:27 ` dfranke at gcc dot gnu dot org
@ 2007-04-12 18:29 ` dfranke at gcc dot gnu dot org
5 siblings, 0 replies; 7+ messages in thread
From: dfranke at gcc dot gnu dot org @ 2007-04-12 18:29 UTC (permalink / raw)
To: gcc-bugs
------- Comment #5 from dfranke at gcc dot gnu dot org 2007-04-12 19:28 -------
Documented in trunk and 4.2 branch. Closing.
--
dfranke at gcc dot gnu dot org changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|NEW |RESOLVED
Resolution| |FIXED
Target Milestone|--- |4.2.0
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=31234
^ permalink raw reply [flat|nested] 7+ messages in thread
end of thread, other threads:[~2007-04-12 18:29 UTC | newest]
Thread overview: 7+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2007-03-16 22:33 [Bug fortran/31234] New: Thread-safety of random_number should be documented brooks at gcc dot gnu dot org
2007-03-17 11:23 ` [Bug fortran/31234] " fxcoudert at gcc dot gnu dot org
2007-03-21 14:11 ` dfranke at gcc dot gnu dot org
2007-03-23 10:05 ` dfranke at gcc dot gnu dot org
2007-04-12 18:23 ` dfranke at gcc dot gnu dot org
2007-04-12 18:27 ` dfranke at gcc dot gnu dot org
2007-04-12 18:29 ` dfranke 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).