Opened 10 years ago
Closed 5 years ago
#7480 closed Bugs (worksforme)
Runtime failures in let_tests.test
| Reported by: | Michel Morin | Owned by: | Thomas Heller | 
|---|---|---|---|
| Milestone: | To Be Determined | Component: | phoenix | 
| Version: | Boost Development Trunk | Severity: | Problem | 
| Keywords: | Cc: | 
Description
When compiling libs/phoenix/scope/let_tests.cpp
on gcc 4.5, 4.7, 4.8 (experimental) and clang 3.0, 3.1, 3.2 (trunk)
with optimization flag -O2 or -O3,
runtime test failures (i.e. BOOST_TEST failures) occurs.
The failures occur both in C++03 and C++11 modes
and both with BOOST_RESULT_OF_USE_DECLTYPE and without BOOST_RESULT_OF_USE_DECLTYPE.
lambda_tests.test also generates runtime failures. It fails on gcc 4.6, too.
I think there are other failed test cases when compiling with optimization flag -O2 or -O3.
  Note:
 See   TracTickets
 for help on using tickets.
    

I can't reproduce the problem in 1.64, so please reopen if those are still exists.