http://gcc.gnu.org/bugzilla/show_bug.cgi?id=57669
--- Comment #3 from Oliver Stoeneberg <oliverst at online dot de> --- It's unoptimized code and using -msse -mfpmath=sse fixes it. But there is another fix: http://msdn.microsoft.com/en-us/library/vstudio/7t5yh4fd(v=vs.110).aspx Changing autoc[coeff] += d * data[sample+coeff]; to FLAC__real tmp = d * data[sample+coeff]; autoc[coeff] += tmp; also provides the same results with 32-bit as 64-bit does.