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




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

Reply via email to