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  <[EMAIL PROTECTED]>

        * 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


_______________________________________________
Bug-hurd mailing list
Bug-hurd@gnu.org
http://lists.gnu.org/mailman/listinfo/bug-hurd

Reply via email to