d75dae75d7
Fixes using gccgo when optimizing, which changes the order of calls to rand. Same patch proposed upstream. From-SVN: r175927