[Boost-bugs] [Boost C++ Libraries] #7953: phoenix & std::valarray leads to a segfault

Subject: [Boost-bugs] [Boost C++ Libraries] #7953: phoenix & std::valarray leads to a segfault
From: Boost C++ Libraries (noreply_at_[hidden])
Date: 2013-01-30 22:20:20


#7953: phoenix & std::valarray leads to a segfault
---------------------------------------------------+------------------------
 Reporter: Philipp Schwaha <philipp@…> | Owner: theller
     Type: Bugs | Status: new
Milestone: To Be Determined | Component: phoenix
  Version: Boost Development Trunk | Severity: Problem
 Keywords: phoenix, std::valarray, segfault |
---------------------------------------------------+------------------------
 A phoenix expression [1] applied to valarray<double> [2] leads to a
 segfault.

 [1] boost::phoenix::at_c<0>(arg1) += boost::phoenix::at_c<1>(arg1) /
 val(mass) * arg2

 [2] std::tuple<std::valarray<double>, std::valarray<double>>

 A simple example is attached triggering the problem. (When compiled with
 gcc 4.6 or 4.7)

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