Subject: Re: [boost] Debugging optimisation unstable code - Stack and other tools
From: Niall Douglas (s_sourceforge_at_[hidden])
Date: 2015-01-22 11:25:55
On 22 Jan 2015 at 16:17, 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.
> I want to try making finer grained optimization but have not succeeded yet.
I assume you've tried turning off aliasing optimisation but otherwise
with optimisation on?
Weird failures with O2 not seen on O1 are usually aliasing bugs in my
-- ned Productions Limited Consulting http://www.nedproductions.biz/ http://ie.linkedin.com/in/nialldouglas/
Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk