<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 TRANSITIONAL//EN">
<HTML>
<HEAD>
<META HTTP-EQUIV="Content-Type" CONTENT="text/html; CHARSET=UTF-8">
<META NAME="GENERATOR" CONTENT="GtkHTML/3.26.0">
</HEAD>
<BODY>
On Tue, 2010-02-23 at 11:11 -0800, Jeremy Huddleston wrote:
<BLOCKQUOTE TYPE=CITE>
<PRE>
On Feb 23, 2010, at 11:07, Keith Packard wrote:
> On Tue, 23 Feb 2010 13:37:18 -0500, Gaetan Nadon
> <<A HREF="mailto:memsize@videotron.ca">memsize@videotron.ca</A>> 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.
</PRE>
</BLOCKQUOTE>
Patch #1 is designed to maintain status-quo following the removal of -fno-strict-aliasing from CWARNFLAGS and does not require subsequent patches. It's a 'global' setting.<BR>
<BR>
Patch #2 is designed to maintain status-quo, but making it easy for various parts of the code to enable optimization if appropriate. It was later altered for XQuartz, which could have been done through a subsequent patch.<BR>
<BR>
The alternative to patch #2 is for components to append -fstrict-aliasing to override -fno-strict-aliasing. <BR>
<BR>
<BR>
</BODY>
</HTML>