I have a large and complex heuristic algorithm code that can be compiled in V6 and V10 without a problem, except that every now and then the different versions deviate in the solution.

All calculations are integer based.

Debugging is possible, but will take quite some time, as there are millions of iterations before deviation occurs over about 19,000 lines of code.

I have checked the obvious such as different int definition, and these all check out, plus compiler flags were setup to match.

I am hoping someone has had a similar problem and can suggest an issue that would help me narrow down my debugging.

Thanks.