Boost logo

Boost-Commit :

Subject: [Boost-commit] svn:boost r62159 - trunk/boost/config/compiler
From: nielsdekker_at_[hidden]
Date: 2010-05-22 18:27:28


Author: niels_dekker
Date: 2010-05-22 18:27:27 EDT (Sat, 22 May 2010)
New Revision: 62159
URL: http://svn.boost.org/trac/boost/changeset/62159

Log:
Added BOOST_NO_COMPLETE_VALUE_INITIALIZATION to Intel C++ <= 11.1 (trunk), see #4080.

Text files modified:
   trunk/boost/config/compiler/intel.hpp | 13 +++++++++++++
   1 files changed, 13 insertions(+), 0 deletions(-)

Modified: trunk/boost/config/compiler/intel.hpp
==============================================================================
--- trunk/boost/config/compiler/intel.hpp (original)
+++ trunk/boost/config/compiler/intel.hpp 2010-05-22 18:27:27 EDT (Sat, 22 May 2010)
@@ -158,6 +158,19 @@
 #endif
 
 //
+// An attempt to value-initialize a pointer-to-member may trigger an
+// internal error on Intel <= 11.1 (last checked version), as was
+// reported by John Maddock, Intel support issue 589832, May 2010.
+// Moreover, according to test results from Huang-Vista-x86_32_intel,
+// intel-vc9-win-11.1 may leave a non-POD array uninitialized.
+// (Niels Dekker, LKEB, May 2010)
+#if defined(__INTEL_COMPILER)
+# if __INTEL_COMPILER <= 1110
+# define BOOST_NO_COMPLETE_VALUE_INITIALIZATION
+# endif
+#endif
+
+//
 // last known and checked version:
 #if (BOOST_INTEL_CXX_VERSION > 1110)
 # if defined(BOOST_ASSERT_CONFIG)


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