[MPlayer-cvslog] Re: CVS: main/postproc swscale_template.c, 1.116, 1.117

Tobias Diedrich ranma at tdiedrich.de
Tue Jun 28 00:07:05 CEST 2005

Guillaume POIRIER wrote:

> I just tested, it still leads to a crash with GCC-3.3. Is it time for
> a GCC bug report?

Based on a comment of Reimar in #mplayerdev about gcc not inlining
functions marked as 'inline', I had a look at
include/linux/compiler.h and include/linux/compiler-gcc3.h in the
linux kernel tree.

It redefines "inline" as "inline __attribute__((always_inline))".
If I add "#define inline inline __attribute__((always_inline))" at
the top of swscale_template.c it works with gcc-3.3 and the MMX2
code no longer segfaults.

Tobias						PGP: http://9ac7e0bc.uguu.de

More information about the MPlayer-cvslog mailing list