Re: -fstrict-aliasing

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

 



John Parkes <jp012c6013@xxxxxxxxxxxxxxxx> writes:

> Is GCC permitted to miscompile, with -fstrict-aliasing, source
> which clearly flouts the assumptions of that option ?
[snip]

'miscompile' is not the right word. According to the standard, the
    behaviour of your example has undefined behavior. So the code the
    gcc produces is not a 'miscompilation' no matter what it does.



[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