This is an archive of the discontinued LLVM Phabricator instance.

[flang][runtime] Don't let random seed queries change the sequence
ClosedPublic

Authored by klausler on Jun 3 2022, 3:59 PM.

Details

Summary

When the current seed of the pseudo-random generator is queried
with CALL RANDOM_SEED(GET=n), that query should not change the
stream of pseudo-random numbers produced by CALL RANDOM_NUMBER().

Diff Detail

Event Timeline

klausler created this revision.Jun 3 2022, 3:59 PM
Herald added a project: Restricted Project. · View Herald TranscriptJun 3 2022, 3:59 PM
Herald added a subscriber: jdoerfert. · View Herald Transcript
klausler requested review of this revision.Jun 3 2022, 3:59 PM
vdonaldson accepted this revision.Jun 3 2022, 4:56 PM
This revision is now accepted and ready to land.Jun 3 2022, 4:56 PM
klausler updated this revision to Diff 434220.Jun 3 2022, 5:52 PM

Clean up after a rebase gone somewhat wrong.