Re: Clarification on Gcc's strict aliasing rules

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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


[Index of Archives]     [Linux C Programming]     [Linux Kernel]     [eCos]     [Fedora Development]     [Fedora Announce]     [Autoconf]     [The DWARVES Debugging Tools]     [Yosemite Campsites]     [Yosemite News]     [Linux GCC]

  Powered by Linux