User account creation filtered due to spam.
A program as simple as:
int b = 10;
a = (++b) + (++b) + (++b);
shows the wrong answer.
It should be 36, it shows 37. Optimisations on or off throw the same result.
Source of the problem: Generated code.
Pseudo C/asm code:
%eax = b;
%edx = b;
%edx += %eax;
%edx += b
a = %edx
So, when it should be doing "a = 11 + 12 + 13;" it's doing "a = 12 + 12 + 13;".
*** This bug has been marked as a duplicate of 11751 ***