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: Marcus Brinkmann
Subject: Re: strict aliasing problem in GNU Mach
Date: Sun, 22 Jan 2006 13:15:11 -0500

On Sun, 2006-01-22 at 17:06 +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.
> 
> What do you think?

I agree that we should use -fno-strict-aliasing for GNU Mach.  Fixing
this is not a high priority, and for the original Linux source files
this option is actually a necessity.

Thanks,
Marcus






reply via email to

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