Patrick Horgan <phorgan1@xxxxxxxxx> writes: > On 11/06/2010 03:15 PM, Francis Moreau wrote: [...] >> >> Again in my understanding of the standard, this is an undefined >> behaviour. So why does man page mention this case ? > It mentions it because a lot of people said that they thought the > wording of the standard would allow this. If you google for strict > aliasing you find it all over the place. Now people can't say that. > If you look on the boost wiki you find a discussion of strict-aliasing > and how gcc generates awesome code if you do things right. (If you > like it I wrote that section, if you don't it was probably random > cosmic rays). > > https://svn.boost.org/trac/boost/wiki/Guidelines/WarningsGuidelines Ok I'll have a look. Thanks -- Francis