Re: Strict aliasing violation?

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

 



On Tue, Sep 11, 2012 at 8:06 AM, Marc Glisse <marc.glisse@xxxxxxxx> wrote:
>
> I thought char was the type that can alias anything (so the optimizer stays
> clear).

Not quite.  A char* pointer can alias anything.  The original code is
using a char[64] array; that type is not special when it comes to
aliasing.

Ian


[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