[Boost-bugs] [Boost C++ Libraries] #10547: [boost/date_time/gregorian/gregorian.hpp] Purify detected UMRs

Subject: [Boost-bugs] [Boost C++ Libraries] #10547: [boost/date_time/gregorian/gregorian.hpp] Purify detected UMRs
From: Boost C++ Libraries (noreply_at_[hidden])
Date: 2014-09-26 20:15:49


#10547: [boost/date_time/gregorian/gregorian.hpp] Purify detected UMRs
-------------------------------------------------+-------------------------
 Reporter: Yevgeny Kalinsky | Owner: az_sw_dude
  <yevgeny_kalinsky@…> | Status: new
     Type: Bugs | Component: date_time
Milestone: To Be Determined | Severity: Problem
  Version: Boost 1.56.0 |
 Keywords: |
-------------------------------------------------+-------------------------
 Hello,

 We ran Purify on one of the boost tests:
 boost_1_56_0/libs/date_time/test/gregorian/testgreg_durations.cpp .

 The test succeded, but there were UMRs (Uninitialized memory
 reads)detected in

 short boost::date_time::wrapping_int2<short, 1, 12 >::add<short>(short)
 [... /boost_1_56_0/boost/date_time/wrapping_int.hpp:124]

 and in

 boost::date_time::month_functor<boost::gregorian::date>::get_offset(boost::gregorian::date
 const&) const [.../boost_1_56_0/boost/date_time/adjust_functors.hpp:91]

 The compiler was gcc version 4.1.0 for Linux

-- 
Ticket URL: <https://svn.boost.org/trac/boost/ticket/10547>
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:17 UTC