Subject: Re: [Boost-bugs] [Boost C++ Libraries] #3826: shared_ptr has incorrect use_count when compiled -O2
From: Boost C++ Libraries (noreply_at_[hidden])
Date: 2010-01-07 15:17:40
#3826: shared_ptr has incorrect use_count when compiled -O2
------------------------------------------------+---------------------------
Reporter: Sean Munro <smunro@â¦> | Owner: pdimov
Type: Bugs | Status: new
Milestone: Boost 1.42.0 | Component: smart_ptr
Version: Boost 1.41.0 | Severity: Problem
Keywords: shared_ptr |
------------------------------------------------+---------------------------
Comment(by pdimov):
This works for me under Cygwin g++ 3.4.4 with -O2. It's probably a
compiler bug. I remember another report of g++ 3.4.6 misbehaving:
http://lists.boost.org/boost-users/2008/10/41699.php
Not sure what we can do from the shared_ptr side. Does it work when you
#define BOOST_SP_NO_SP_CONVERTIBLE?
-- Ticket URL: <https://svn.boost.org/trac/boost/ticket/3826#comment:1> 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:02 UTC