Commit Message

Hi,
tested x86_64-linux (with and without #include "opt_random.h" at the end
of ext/random), committed to mainline. Should be fixed now.
Thanks,
Paolo.
PS: I just noticed that in ext/random, inside namespace __gnu_cxx, we
are using, unqualified, size_t and other types. We shouldn't: it's only
because of an accident of our implementation that those types are also
available in the global namespace. We should qualify with std::, or use
equivalent solutions.
PS2: I think we should add <ext/random> to include/precompiled/extc++.h,
to speed up the testsuite and early catch trivial issues.
//////////////////
2012-09-18 Paolo Carlini <paolo.carlini@oracle.com>
PR libstdc++/54612
* include/ext/random.tcc (operator==
(const __gnu_cxx::simd_fast_mersenne_twister_engine<>&,
const __gnu_cxx::simd_fast_mersenne_twister_engine<>&)): Fix
state_size use.
* config/cpu/i486/opt/ext/opt_random.h: Guard with __SSE2__.