Boost logo

Boost :

From: Peter Dimov (pdimov_at_[hidden])
Date: 2005-11-02 19:04:24

Bronek Kozicki wrote:
> Bo Persson wrote:
>> It is known that the linker optimizations remove identical code
>> blocks to save code space. See /OPT:ICF in the linker reference:
> I have three ideas:
> 1. make body of test functions different (tricky, as compiler might
> optimize away anything that does not have detectable side-effects) or
> 2. put information in the XML that failure is expected together with
> explanation
> 3. compile regression test without this particular optimization (hm, I
> thought that regression tests do not run optimized code?)
> Personally I would prefer 3

(2) is the way to go, IMO.

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