
3 Nov
2005
3 Nov
'05
12:04 a.m.
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.