From mboxrd@z Thu Jan 1 00:00:00 1970 From: Jeffrey A Law To: Nick Ing-Simmons Cc: chip@perlsupport.com, davem@redhat.com, rth@cygnus.com, craig@jcb-sc.com, egcs@egcs.cygnus.com, Linus Torvalds , Tim Hollebeek , mark@codesourcery.com Subject: Re: Linux and aliasing? Date: Tue, 08 Jun 1999 01:48:00 -0000 Message-id: <7153.928831405@upchuck.cygnus.com> References: <199906080832.JAA09214@tiuk.ti.com> X-SW-Source: 1999-06/msg00285.html In message < 199906080832.JAA09214@tiuk.ti.com >you write: > It is not just the Linux kernel, it is _any_ kernel and > aliasing tricks are _everywhere_ - most embedded C has them too, > I would be surprised if X11 did not have them, ... And such code is perfectly welcome to use -fno-strict-aliasing to avoid problems with their non-portable code. Non-conforming code of this nature is in the vast minority relative to conforming code. I would be amazed if X11 did not already fix this -- X11 has been building with vendor compilers that have been doing type based alias analysis for years. jeff From mboxrd@z Thu Jan 1 00:00:00 1970 From: Jeffrey A Law To: Nick Ing-Simmons Cc: chip@perlsupport.com, davem@redhat.com, rth@cygnus.com, craig@jcb-sc.com, egcs@egcs.cygnus.com, Linus Torvalds , Tim Hollebeek , mark@codesourcery.com Subject: Re: Linux and aliasing? Date: Wed, 30 Jun 1999 15:43:00 -0000 Message-ID: <7153.928831405@upchuck.cygnus.com> References: <199906080832.JAA09214@tiuk.ti.com> X-SW-Source: 1999-06n/msg00285.html Message-ID: <19990630154300.mw3GqJEGY6YwAhtSN6fI3U6EWUhtfMg1RRnKoXOSADs@z> In message < 199906080832.JAA09214@tiuk.ti.com >you write: > It is not just the Linux kernel, it is _any_ kernel and > aliasing tricks are _everywhere_ - most embedded C has them too, > I would be surprised if X11 did not have them, ... And such code is perfectly welcome to use -fno-strict-aliasing to avoid problems with their non-portable code. Non-conforming code of this nature is in the vast minority relative to conforming code. I would be amazed if X11 did not already fix this -- X11 has been building with vendor compilers that have been doing type based alias analysis for years. jeff