Boost logo

Boost-Commit :

Subject: [Boost-commit] svn:boost r86117 - trunk/boost/thread/detail
From: steveire_at_[hidden]
Date: 2013-10-01 04:48:08


Author: skelly
Date: 2013-10-01 04:48:07 EDT (Tue, 01 Oct 2013)
New Revision: 86117
URL: http://svn.boost.org/trac/boost/changeset/86117

Log:
Thread: Remove obsolete GCC version check.

Text files modified:
   trunk/boost/thread/detail/config.hpp | 3 +--
   1 files changed, 1 insertions(+), 2 deletions(-)

Modified: trunk/boost/thread/detail/config.hpp
==============================================================================
--- trunk/boost/thread/detail/config.hpp Tue Oct 1 04:47:50 2013 (r86116)
+++ trunk/boost/thread/detail/config.hpp 2013-10-01 04:48:07 EDT (Tue, 01 Oct 2013) (r86117)
@@ -15,8 +15,7 @@
 //#define BOOST_THREAD_DONT_PROVIDE_INTERRUPTIONS
 // ATTRIBUTE_MAY_ALIAS
 
-#if defined(__GNUC__) && (__GNUC__ * 100 + __GNUC_MINOR__) > 302 \
- && !defined(__INTEL_COMPILER)
+#if defined(__GNUC__) && !defined(__INTEL_COMPILER)
 
   // GCC since 3.3 has may_alias attribute that helps to alleviate optimizer issues with
   // regard to violation of the strict aliasing rules.


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