
2 Nov
2005
2 Nov
'05
11:46 p.m.
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 B.