[PATCH] PR libstdc++/85494 use rdseed and rand_s in std::random_device

Szabolcs Nagy Szabolcs.Nagy@arm.com
Fri May 31 09:26:00 GMT 2019


On 29/05/2019 23:03, Jonathan Wakely wrote:
> This fixes a test that started to fail in mingw.
> 
> Tested x86_64-linux, powerpc64le-linux and x86_64-w64-ming32.
> 
> Committed to trunk.

note that the updated test fails on baremetal

FAIL: 26_numerics/random/random_device/cons/token.cc execution test

26_numerics/random/random_device/cons/token.cc:67: void test03(): Assertion 'count != 0' failed.

(if i add "default" to the token list in test03 then it passes)



More information about the Libstdc++ mailing list