Boost C++ Libraries: Ticket #7953: phoenix & std::valarray leads to a segfault https://svn.boost.org/trac10/ticket/7953 <p> A phoenix expression <a class="changeset" href="https://svn.boost.org/trac10/changeset/1" title="Import core sources for SVNmanger 0.38 ">[1]</a> applied to valarray&lt;double&gt; <a class="changeset" href="https://svn.boost.org/trac10/changeset/2" title="Add Boost Disclaimer">[2]</a> leads to a segfault. </p> <p> <a class="changeset" href="https://svn.boost.org/trac10/changeset/1" title="Import core sources for SVNmanger 0.38 ">[1]</a> boost::phoenix::at_c&lt;0&gt;(arg1) += boost::phoenix::at_c&lt;1&gt;(arg1) / val(mass) * arg2 </p> <p> <a class="changeset" href="https://svn.boost.org/trac10/changeset/2" title="Add Boost Disclaimer">[2]</a> std::tuple&lt;std::valarray&lt;double&gt;, std::valarray&lt;double&gt;&gt; </p> <p> A simple example is attached triggering the problem. (When compiled with gcc 4.6 or 4.7) </p> en-us Boost C++ Libraries /htdocs/site/boost.png https://svn.boost.org/trac10/ticket/7953 Trac 1.4.3 Philipp Schwaha <philipp@…> Wed, 30 Jan 2013 22:20:41 GMT attachment set https://svn.boost.org/trac10/ticket/7953 https://svn.boost.org/trac10/ticket/7953 <ul> <li><strong>attachment</strong> → <span class="trac-field-new">minimum.cpp</span> </li> </ul> Ticket