When building a program using a newer version of GCC, I found a problem in the code.
count[i] = count[i]++;
This code worked with an older version of GCC (2.95), but doesn't work with a newer version (4.8).
So I suspect this statement causes undefined behaviour, am I correct? Or is there a better term for this problem?