------- Comment #2 from csm at gnu dot org 2006-06-06 20:07 ------- I don't see any pegged CPU usage with 4.2.0 20060606, on a dual AMD Athlon system, Linux 2.6.6, NPTL threads. The test case does seem to hang, however, after the seed is generated (it takes about a second for the result to be printed).
There may be something going wrong with threads and the calls to Thread.yield(). Can you describe the systems you are running this test case on? -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=27908