Boost C++ Libraries: Ticket #11474: qi real parser- valgrind error https://svn.boost.org/trac10/ticket/11474 <p> i tried the boost 1.59 rc1 today and got in my software a regression which i could reduce a little bit to </p> <p> <em>test.cpp #include &lt;boost/spirit/include/qi.hpp&gt; #include &lt;vector&gt; #include &lt;string&gt; #include &lt;iostream&gt; using namespace boost::spirit::qi; int main(){ </em></p> <blockquote> <p> std::cout&lt;&lt;BOOST_LIB_VERSION&lt;&lt;std::endl;<em>check that proper version is used std::string str="1.0,119,80,35,0,29.0,0.263,29,1"; std::vector&lt;double&gt; fileContents; phrase_parse( </em></p> <blockquote> <p> str.begin(),str.end(), </p> <blockquote> <p> double_ % ',', </p> </blockquote> <p> space , fileContents </p> </blockquote> <p> ); </p> </blockquote> <blockquote> <p> for(std::size_t j = 0; j != 9; ++j) </p> <blockquote> <p> std::cout&lt;&lt;fileContents[j]&lt;&lt;" "&lt;&lt;std::flush; </p> </blockquote> </blockquote> <p> } </p> <p> find attached the boost 1.58 and 1.59 outputs of g++ and valgrind. if i compile my software in release mode, the above lines *sometimes* return wrong numbers. </p> en-us Boost C++ Libraries /htdocs/site/boost.png https://svn.boost.org/trac10/ticket/11474 Trac 1.4.3 Joel de Guzman Tue, 14 Jul 2015 22:48:15 GMT status changed; resolution set https://svn.boost.org/trac10/ticket/11474#comment:1 https://svn.boost.org/trac10/ticket/11474#comment:1 <ul> <li><strong>status</strong> <span class="trac-field-old">new</span> → <span class="trac-field-new">closed</span> </li> <li><strong>resolution</strong> → <span class="trac-field-new">fixed</span> </li> </ul> <p> duplicate: <a class="ext-link" href="https://svn.boost.org/trac/boost/ticket/11475"><span class="icon">​</span>https://svn.boost.org/trac/boost/ticket/11475</a> </p> Ticket