Boost logo

Boost-Commit :

Subject: [Boost-commit] svn:boost r51877 - in branches/release: . boost/xpressive/detail/core
From: eric_at_[hidden]
Date: 2009-03-20 19:13:25


Author: eric_niebler
Date: 2009-03-20 19:13:24 EDT (Fri, 20 Mar 2009)
New Revision: 51877
URL: http://svn.boost.org/trac/boost/changeset/51877

Log:
Merged revisions 51863 via svnmerge from https://svn.boost.org/svn/boost/trunk
Properties modified:
   branches/release/ (props changed)
Text files modified:
   branches/release/boost/xpressive/detail/core/adaptor.hpp | 6 ++++++
   1 files changed, 6 insertions(+), 0 deletions(-)

Modified: branches/release/boost/xpressive/detail/core/adaptor.hpp
==============================================================================
--- branches/release/boost/xpressive/detail/core/adaptor.hpp (original)
+++ branches/release/boost/xpressive/detail/core/adaptor.hpp 2009-03-20 19:13:24 EDT (Fri, 20 Mar 2009)
@@ -37,6 +37,12 @@
     Xpr xpr_;
 
     xpression_adaptor(Xpr const &xpr)
+ #if BOOST_WORKAROUND(__GNUC__, BOOST_TESTED_AT(4)) \
+ && ((__GNUC__ > 3) || ((__GNUC__ == 3) && (__GNUC_MINOR__ >= 1)))
+ // Ugh, gcc has an optimizer bug which elides this c'tor call
+ // resulting in pure virtual function calls.
+ __attribute__((noinline))
+ #endif
       : xpr_(xpr)
     {
     }


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