[Bug fortran/54406] New: random_number() sometimes returns duplicate values when called from parallel threads

2012-08-29 Thread bugzilla.tmschr at wronghead dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=54406 Bug #: 54406 Summary: random_number() sometimes returns duplicate values when called from parallel threads Classification: Unclassified Product: gcc Version: 4.7.1 St

[Bug fortran/54406] random_number() sometimes returns duplicate values when called from parallel threads

2012-08-29 Thread bugzilla.tmschr at wronghead dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=54406 --- Comment #1 from bugzilla.tmschr at wronghead dot com 2012-08-29 12:39:55 UTC --- Created attachment 28099 --> http://gcc.gnu.org/bugzilla/attachment.cgi?id=28099 Test to check for duplicate random numbers Changing variable M may

[Bug fortran/54406] random_number() sometimes returns duplicate values when called from parallel threads

2012-08-29 Thread bugzilla.tmschr at wronghead dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=54406 --- Comment #3 from bugzilla.tmschr at wronghead dot com 2012-08-29 13:55:46 UTC --- Sorry for this report!!!1!!eleven! You're right, that fixes it. The fault is clearly not with the random_number instrinsic. I've been searching for