[FFmpeg-devel] gsmdec failures on ppc/sparc gcc 4.2.4

Måns Rullgård mans
Thu Sep 16 10:40:20 CEST 2010

Martin Storsj? <martin at martin.st> writes:

> Hi,
> A few days ago, I took a look at the gsmdec failures that FATE reports on 
> gcc 4.2.4 on ppc and sparc. This seems in general to be a compiler bug, 
> but I haven't debugged it far enough so that I can say for sure.
> The issue, as far as I see it, seems to be that the compiler inlines the 
> filter_value function incorrectly, and/or reorders things incorrectly when 
> unrolling loops.

It is happening only with gcc 4.2 on both systems, and I don't see any
undefined operations in that code, so it looks very much like a
compiler bug.  Since gcc 4.2 is rather old, and gsm is a rather
obscure codec, I don't think it's anything to worry about.

M?ns Rullg?rd
mans at mansr.com

More information about the ffmpeg-devel mailing list