Re: [Boost-bugs] [Boost C++ Libraries] #10204: boost::lockfree:queue: g++ -fgnu-tm and -O1/2/3 flag not working

Subject: Re: [Boost-bugs] [Boost C++ Libraries] #10204: boost::lockfree:queue: g++ -fgnu-tm and -O1/2/3 flag not working
From: Boost C++ Libraries (noreply_at_[hidden])
Date: 2014-08-01 10:08:50


#10204: boost::lockfree:queue: g++ -fgnu-tm and -O1/2/3 flag not working
-------------------------+-------------------------------------------------
  Reporter: | Owner: timblechmann
  philipp.schoppe@… | Status: new
      Type: Bugs | Component: atomic
 Milestone: To Be | Severity: Problem
  Determined | Keywords: -fgnu-tm -O compiler flag
   Version: Boost | combination
  1.55.0 |
Resolution: |
-------------------------+-------------------------------------------------

Comment (by olli):

 Replying to [comment:4 andysem]:
> I cannot reproduce this with gcc 4.8.2 but it shows with 4.7.3.
 I can reproduce the error with gcc 4.8.2 - using boost::atomic<> and
 __transaction_atomic in the same app

> BOOST_FORCEINLINE is crucial in Boost.Atomic, it cannot be replaced with
 inline lightly.
 could you explain it why it is crucial, please

-- 
Ticket URL: <https://svn.boost.org/trac/boost/ticket/10204#comment:6>
Boost C++ Libraries <http://www.boost.org/>
Boost provides free peer-reviewed portable C++ source libraries.

This archive was generated by hypermail 2.1.7 : 2017-02-16 18:50:16 UTC