This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Re: Linux and aliasing?
- To: Linus Torvalds <torvalds at transmeta dot com>
- Subject: Re: Linux and aliasing?
- From: Jeffrey A Law <law at cygnus dot com>
- Date: Mon, 07 Jun 1999 12:17:10 -0600
- cc: Tim Hollebeek <tim at franck dot Princeton dot EDU>, mark at codesourcery dot com, rth at cygnus dot com, craig at jcb-sc dot com, davem at redhat dot com, chip at perlsupport dot com, egcs at egcs dot cygnus dot com
- Reply-To: law at cygnus dot com
In message <Pine.LNX.3.95.990607103826.22680A-100000@penguin.transmeta.com>yo
u write:
> > Then we'll have to explain two things to them instead of just one: the
> > ANSI rules, and the extra Torvalds non-ANSI rules.
>
> Just explain it as "dangerous code", and give examples. There are
> certainly bound to be other cases, although the "torvalds case" is the
> obvious and most common one.
Building a new set of aliasing rules which are only going to be used by the
Linux kernel to avoid making their code standards complaint is simply dumb.
We should follow the ISO/ANSI rules and be done with it.
I'm not going to approve any changes of this nature.
jeff