[Ffmpeg-devel] GCC optimizations

Justin Ruggles jruggle
Sun May 28 22:39:00 CEST 2006


While working on the FLAC encoder, I have come across a problem I've
never encountered.  I am getting completely different results using gcc
with optimization vs. without optimization.  Using -O0 gives me good
results, but using -O1 to -O3 gives bad (but still valid) results.  I
get the same good results using tcc.  Could I have a bug somewhere in my
code that would cause this or is it more likely a bug in gcc?  My gcc
version is 3.3.4.


More information about the ffmpeg-devel mailing list