Thank you very much for the links and the detailed description! /haubi/ On Mon, 2007-01-08 at 21:31 -0800, Brian Dessent wrote: > Michael Haubenwallner wrote: > > > > This is an aliasing bug. Please see The C standard, Section 6.3.2.3, > > > Pointers. > > > > Hmm, a bug in what product - the standard, gcc, or my application ? > > > > And - sorry for that question - where do one read the standard from ? > > I've found C89, this seems to have only 5 sections... > > And in the C99 draft, Section 6.3.2.3 has to do with aliasing, but I'm > > completely lost here - I'll better let interpreting the standard up to > > you :) > > You have to pay a small amount to get an official copy of the standard > but there are several draft copies available for free. See > <http://www.iso-9899.info/wiki/The_Standard>, > <http://www.open-std.org/jtc1/sc22/wg14/>, > <http://gcc.gnu.org/readings.html>, etc. > > For details on aliasing, there is some discussion of it here > <http://gcc.gnu.org/bugs.html#nonbugs_c> which includes a link to > <http://mail-index.netbsd.org/tech-kern/2003/08/11/0001.html>. <snip>