Could someone explain to me why this piece of code (cf Step tor Reproduce) is doing well when I execute it on a x86 platform and why it fail on x64 ?
If I change something, like removing one of the unused variables, or if I remove the useless for-loop after p_lFirstId++, the strange behavior disappear.
I found that changing "pdb-only" to "full" in my release configuration, it's work again.
If you run the code directly from visual studio, it's doing well too.
Is this a JIT Compiler bug ?
Thank you in advance.