[MPlayer-dev-eng] [PATCH] -fno-strict-aliasing on gcc > 3
Diego Biurrun
diego at biurrun.de
Tue Jul 12 00:34:48 CEST 2005
On Mon, Jul 11, 2005 at 10:35:36PM +0200, Reimar Döffinger wrote:
> 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).
Please benchmark, MPlayer is the fastest player and we should try to
keep it that way.
Diego
More information about the MPlayer-dev-eng
mailing list