Boost logo

Boost-Commit :

Subject: [Boost-commit] svn:boost r63572 - trunk/boost/asio/detail
From: chris_at_[hidden]
Date: 2010-07-04 03:20:18


Author: chris_kohlhoff
Date: 2010-07-04 03:20:18 EDT (Sun, 04 Jul 2010)
New Revision: 63572
URL: http://svn.boost.org/trac/boost/changeset/63572

Log:
Fences for arm.

Text files modified:
   trunk/boost/asio/detail/gcc_fenced_block.hpp | 6 +++++-
   1 files changed, 5 insertions(+), 1 deletions(-)

Modified: trunk/boost/asio/detail/gcc_fenced_block.hpp
==============================================================================
--- trunk/boost/asio/detail/gcc_fenced_block.hpp (original)
+++ trunk/boost/asio/detail/gcc_fenced_block.hpp 2010-07-04 03:20:18 EDT (Sun, 04 Jul 2010)
@@ -20,7 +20,9 @@
 #if defined(__GNUC__) \
   && ((__GNUC__ == 4 && __GNUC_MINOR__ >= 1) || (__GNUC__ > 4)) \
   && !defined(__INTEL_COMPILER) && !defined(__ICL) \
- && !defined(__ICC) && !defined(__ECC) && !defined(__PATHSCALE__)
+ && !defined(__ICC) && !defined(__ECC) && !defined(__PATHSCALE__) \
+ && (!defined(__arm__) || (defined(__arm__) && \
+ (__GNUC__ == 4 && __GNUC_MINOR__ >= 4) || (__GNUC__ > 4)))
 
 #include <boost/asio/detail/push_options.hpp>
 
@@ -59,5 +61,7 @@
        // && ((__GNUC__ == 4 && __GNUC_MINOR__ >= 1) || (__GNUC__ > 4))
        // && !defined(__INTEL_COMPILER) && !defined(__ICL)
        // && !defined(__ICC) && !defined(__ECC) && !defined(__PATHSCALE__)
+ // && (!defined(__arm__) || (defined(__arm__) &&
+ // (__GNUC__ == 4 && __GNUC_MINOR__ >= 4) || (__GNUC__ > 4)))
 
 #endif // BOOST_ASIO_DETAIL_GCC_FENCED_BLOCK_HPP


Boost-Commit list run by bdawes at acm.org, david.abrahams at rcn.com, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk