bug-hurd
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: strict aliasing problem in GNU Mach


From: Thomas Schwinge
Subject: Re: strict aliasing problem in GNU Mach
Date: Fri, 3 Feb 2006 08:52:00 -0500
User-agent: Mutt/1.5.6+20040907i

On Sun, Jan 22, 2006 at 05:06:26PM +0100, Gianluca Guida wrote:
> Among lot of warning, while compiling GNU Mach with recent gcc's we
> get lot of warnings related to strict aliasing optimization. This
> might lead the compiler into producing incorrect code.
> 
> I personally think that instead of modifying GNU Mach's code (and
> limit our cast usage) we  can simply get rid of this invasive
> optimization by adding to CFLAGS -fno-strict-aliasing.

I checked in the following:

2006-02-03  Thomas Schwinge  <tschwinge@gnu.org>

        * Makerules.in: Add -fno-strict-aliasing to CFLAGS.
        * i386/linux/Makefile.in: Likewise for linux-gen-flags.


Please confirm this is enough / ok.


Regards,
 Thomas




reply via email to

[Prev in Thread] Current Thread [Next in Thread]