Opened 10 years ago
#7953 new Bugs
phoenix & std::valarray leads to a segfault
Reported by: | Owned by: | Thomas Heller | |
---|---|---|---|
Milestone: | To Be Determined | Component: | phoenix |
Version: | Boost Development Trunk | Severity: | Problem |
Keywords: | phoenix, std::valarray, segfault | Cc: |
Description
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)
Attachments (1)
Note:
See TracTickets
for help on using tickets.