Subject: Re: GNU config.guess and netbsd{aout,elf,}
To: Jonathan Stone <jonathan@DSG.Stanford.EDU>
From: Charles M. Hannum <root@ihack.net>
List: tech-toolchain
Date: 11/23/1999 18:03:29
Jonathan Stone <jonathan@DSG.Stanford.EDU> writes:

> 	u_short VOLATILE rem;
> 	rem = 0;
> 	*(VOLATILE char *)&rem = buf[len-1];

The result of dereferencing a casted pointer is explicitly
implementation-defined in ANSI C.  It was never defined at all in K&R
C.  So at best this is non-portable code.