[PATCH xserver 1/3] config: add -fno-strict-aliasing now that it is out of $CWARNFLAGS

Michel Dänzer michel at daenzer.net
Wed Feb 24 00:34:10 PST 2010


On Tue, 2010-02-23 at 11:11 -0800, Jeremy Huddleston wrote: 
> On Feb 23, 2010, at 11:07, Keith Packard wrote:
> 
> > On Tue, 23 Feb 2010 13:37:18 -0500, Gaetan Nadon  
> > <memsize at videotron.ca> wrote:
> >
> >> This patch will ensure the xserver continues to suppress the
> >> optimization, based on strict aliasing rules, after the option
> >> is removed from $CWARNFLAGS. There is no change in the object
> >> code produced.
> >
> > I don't think we need to allow any of the code in the X server to be
> > 'optimized' in this fashion, so I don't see a need to allow for
> > per-directory selection.
> 
> It would be helpful if I had the option to remove this flag from  
> XQuartz.

Out of curiosity, what significant benefit have you measured from using
-fstrict-aliasing?


-- 
Earthling Michel Dänzer           |                http://www.vmware.com
Libre software enthusiast         |          Debian, X and DRI developer


More information about the xorg-devel mailing list