aboutsummaryrefslogtreecommitdiff
path: root/libstdc++-v3/config
diff options
context:
space:
mode:
authorPaolo Carlini <paolo.carlini@oracle.com>2012-09-18 14:02:20 +0000
committerPaolo Carlini <paolo@gcc.gnu.org>2012-09-18 14:02:20 +0000
commitecfce0b850ae17455c559493c027599df251699a (patch)
treeaf1cccb697d753bdc1ea93c92358e957af1cf65a /libstdc++-v3/config
parent1d61ee4252f7b906b37bb284e3b4616ebe61eaf6 (diff)
downloadgcc-ecfce0b850ae17455c559493c027599df251699a.zip
gcc-ecfce0b850ae17455c559493c027599df251699a.tar.gz
gcc-ecfce0b850ae17455c559493c027599df251699a.tar.bz2
re PR libstdc++/54612 (Many failures in ext/random testsuite)
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__. From-SVN: r191424
Diffstat (limited to 'libstdc++-v3/config')
-rw-r--r--libstdc++-v3/config/cpu/i486/opt/ext/opt_random.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/libstdc++-v3/config/cpu/i486/opt/ext/opt_random.h b/libstdc++-v3/config/cpu/i486/opt/ext/opt_random.h
index cd06f3f..968b1c1 100644
--- a/libstdc++-v3/config/cpu/i486/opt/ext/opt_random.h
+++ b/libstdc++-v3/config/cpu/i486/opt/ext/opt_random.h
@@ -32,6 +32,7 @@
#pragma GCC system_header
+#ifdef __SSE2__
namespace __gnu_cxx _GLIBCXX_VISIBILITY(default)
{
@@ -130,5 +131,6 @@ _GLIBCXX_BEGIN_NAMESPACE_VERSION
_GLIBCXX_END_NAMESPACE_VERSION
} // namespace
+#endif // __SSE2__
#endif // _EXT_OPT_RANDOM_H