Use urandom in gcc.c too
commit44a22bdb40386dd07306f2b8a3335ed360d99517
authorAndi Kleen <ak@linux.intel.com>
Thu, 29 Sep 2011 13:15:29 +0000 (29 13:15 +0000)
committerAndi Kleen <ak@gcc.gnu.org>
Thu, 29 Sep 2011 13:15:29 +0000 (29 13:15 +0000)
tree73e1b598941a7e65ca0952e6d3da7a8f1ab89fe9
parent35f2a89d8ec65fe11c37f1c681f465229bc852e3
Use urandom in gcc.c too

gcc also takes generates a random number in some special circumstances,
so teach it about /dev/urandom too.

gcc/:

2011-09-27   Andi Kleen <ak@linux.intel.com>

* gcc.c (get_local_tick). Rename to get_random_number.
        Read from /dev/urandom.
Add getpid call.
(compare_debug_dump_opt_spec_function): Drop getpid call.

From-SVN: r179349
gcc/ChangeLog
gcc/gcc.c