The POWER9 backend in GNU Compiler Collection (GCC) before version 10 could optimize multiple calls of the __builtin_darn intrinsic into a single call, thus reducing the entropy of the random number generator. This occurred because a volatile operation was not specified. For example, within a single execution of a program, the output of every __builtin_darn() call may be the same.
CPE | Name | Operator | Version |
---|---|---|---|
gcc | eq | 6.3.0-r3 | |
gcc | eq | 6.2.0-r3 | |
gcc | eq | 6.4.0-r3 | |
gcc | eq | basepoints/gcc-9 | |
gcc | eq | basepoints/gcc-8 | |
gcc | eq | misc/cutover-egcs-0 | |
gcc | eq | basepoints/gcc-6 | |
gcc | eq | 4.4.1-r10 | |
gcc | eq | basepoints/gcc-10 | |
gcc | eq | 4.4.4-r3 |