stdcxx-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From se...@apache.org
Subject svn commit: r389322 - /incubator/stdcxx/trunk/include/rw/_config-xlc.h
Date Mon, 27 Mar 2006 23:26:22 GMT
Author: sebor
Date: Mon Mar 27 15:26:16 2006
New Revision: 389322

URL: http://svn.apache.org/viewcvs?rev=389322&view=rev
Log:
2006-03-27  Martin Sebor  <sebor@roguewave.com>

	STDCXX-159
	* _config-xlc.h: Disabled explicit instantiation for XLC++ 8.0 when
	extern template isn't correctly implemented to work around an XLC++
	8.0 optimizer bug.

Modified:
    incubator/stdcxx/trunk/include/rw/_config-xlc.h

Modified: incubator/stdcxx/trunk/include/rw/_config-xlc.h
URL: http://svn.apache.org/viewcvs/incubator/stdcxx/trunk/include/rw/_config-xlc.h?rev=389322&r1=389321&r2=389322&view=diff
==============================================================================
--- incubator/stdcxx/trunk/include/rw/_config-xlc.h (original)
+++ incubator/stdcxx/trunk/include/rw/_config-xlc.h Mon Mar 27 15:26:16 2006
@@ -93,6 +93,13 @@
 #  endif   // REENTRANT && LP64
 #endif   // AIX
 
+#if __IBMCPP__ == 800 && !defined (_RWSTDDEBUG)
+   // work around an XLC++ 8.0 ICE (STDCXX-159)
+#  if defined (_RWSTD_NO_EXTERN_TEMPLATE)
+#    define _RWSTD_NO_EXPLICIT_INSTANTIATION
+#  endif   // _RWSTD_NO_EXTERN_TEMPLATE
+#endif   // XLC++ 8.0 without debugging
+
 #ifndef __TEMPINC__
    // avoid VAC++ 7.0 diagnostic 1540-2910 (I) The template uses
    // a file organization for tempinc, but tempinc is not being



Mime
View raw message