[MPlayer-dev-eng] [PATCH] -fno-strict-aliasing on gcc > 3

Reimar Döffinger Reimar.Doeffinger at stud.uni-karlsruhe.de
Mon Jul 11 22:35:36 CEST 2005


Hi,
On Mon, Jul 11, 2005 at 08:52:51PM +0200, Michael Niedermayer wrote:
> On Monday 11 July 2005 20:41, Reimar Döffinger wrote:
> > due to problems with mp3lib and a recent IMHO ugly patch to ebml.c
> > lately, I came to the conclusion that the strict aliasing rules are evil
> > (or at least a PITA).
> > So I suggest the attached patch, that adds -fno-strict-aliasing to the
> > CFLAGS for any gcc >= 3.
> > Please comment, and fast, since otherwise I will apply Wednesday.
> 
> this needs to be benchmarked, it could have zero effect on speed or a quite 
> significant one ...

I might do that if you insist, but I personally don't care. Whoever
cares about performance can still use 2.95 (well, on x86 that is I have
to admit).

Greetings,
Reimar Döffinger




More information about the MPlayer-dev-eng mailing list