Boost logo

Boost :

Subject: Re: [boost] Debugging optimisation unstable code - Stack and other tools
From: Mathias Gaunard (mathias.gaunard_at_[hidden])
Date: 2015-01-22 10:59:34

On 22/01/2015 15:35, Fletcher, John P wrote:
> I am working to get the bugs out of Phoenix and have a situation where some tests are optimisation unstable - they run on Clang 3.5 with -O1 but not -O2 and on gcc 4.9.0 with -O0 but not -O1. The higher optimisation gives an erroneous return value.
> I am looking for tools to work with this.

You can enable the sanitizers bundled with clang and gcc. You can also
try valgrind.

Boost list run by bdawes at, gregod at, cpdaniel at, john at