the code is full of C standard violations, its not big surprise the compiler optimizes it to brokenness. one can work around it by setting -fno-strict-overflow but there are also aliasing issues so one should probably also set fno-strict-aliasing, thought it is not required right now. it also uses undefined arithmetic operations on global memory which tends to brake very often too, the other arches like arm are very susceptible to that.
-- To UNSUBSCRIBE, email to debian-bugs-rc-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org