Re: [Boost-bugs] [Boost C++ Libraries] #5284: gcc-4.4.3 compiler warnings with Interprocess+Intrusive

Subject: Re: [Boost-bugs] [Boost C++ Libraries] #5284: gcc-4.4.3 compiler warnings with Interprocess+Intrusive
From: Boost C++ Libraries (noreply_at_[hidden])
Date: 2012-08-22 17:24:12


#5284: gcc-4.4.3 compiler warnings with Interprocess+Intrusive
--------------------------------------------+-------------------------------
  Reporter: Danny Mitzel <mitzel@…> | Owner: igaztanaga
      Type: Bugs | Status: new
 Milestone: To Be Determined | Component: intrusive
   Version: Boost 1.46.0 | Severity: Problem
Resolution: | Keywords:
--------------------------------------------+-------------------------------

Comment (by anonymous):

 I have a similar problem compiling my application with Boost inreprocess
 under GCC 4.4.6. When I compile using -O3 optimization then it fails with
 following errors.

 /boost/intrusive/detail/tree_algorithms.hpp:1617: error: '<anonymous>' may
 be used uninitialized in this function

 /boost/intrusive/detail/tree_algorithms.hpp:1617: error: '<anonymous>' may
 be used uninitialized in this function

 /boost/boost/intrusive/detail/utilities.hpp:234: error: '<anonymous>' may
 be used uninitialized in this function

 /boost/intrusive/detail/utilities.hpp:234: note: '<anonymous>' was
 declared here

 /boost/intrusive/detail/utilities.hpp:234: error: '<anonymous>' may be
 used uninitialized in this function

 /boost/intrusive/detail/utilities.hpp:234: note: '<anonymous>' was
 declared here

 /boost/intrusive/detail/tree_algorithms.hpp:1617: error: '<anonymous>' may
 be used uninitialized in this function

 /boost/intrusive/detail/tree_algorithms.hpp:1617: error: '<anonymous>' may
 be used uninitialized in this function

 /boost/intrusive/detail/tree_algorithms.hpp:1608: error: '<anonymous>' may
 be used
 uninitialized in this function

 /boost/intrusive/detail/tree_algorithms.hpp:1608: error: '<anonymous>' may
 be used uninitialized in this function

 /boost/intrusive/detail/utilities.hpp:234: error: '<anonymous>' may be
 used uninitialized in this function

 /boost/intrusive/detail/utilities.hpp:234: note: '<anonymous>' was
 declared here

 /boost/intrusive/detail/utilities.hpp:234: error: '<anonymous>' may be
 used uninitialized in this function

 /boost/intrusive/detail/utilities.hpp:234: note: '<anonymous>' was
 declared here

 /boost/intrusive/detail/tree_algorithms.hpp:1608: error: '<anonymous>' may
 be used uninitialized in this function

 /intrusive/detail/tree_algorithms.hpp:1608: error: '<anonymous>' may be
 used uninitialized in this function

 This problem only occurs with version of GCC 4.4.6 and compilation is done
 with -O3. It does not occur if I remove -O3.

-- 
Ticket URL: <https://svn.boost.org/trac/boost/ticket/5284#comment:2>
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:10 UTC