Use urandom in gcc.c too
commit0f41df2b6ba9f39951b13926e429090034b4ebb9
authorak <ak@138bc75d-0d04-0410-961f-82ee72b054a4>
Thu, 29 Sep 2011 13:15:29 +0000 (29 13:15 +0000)
committerak <ak@138bc75d-0d04-0410-961f-82ee72b054a4>
Thu, 29 Sep 2011 13:15:29 +0000 (29 13:15 +0000)
tree73e1b598941a7e65ca0952e6d3da7a8f1ab89fe9
parentad7665738cceb89b25315d45f22612510fb6acd2
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.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@179349 138bc75d-0d04-0410-961f-82ee72b054a4
gcc/ChangeLog
gcc/gcc.c