Re: Crazy compiler optimization

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

 



On Wed, Oct 9, 2013 at 2:36 AM, vijay nag <vijunag@xxxxxxxxx> wrote:
>
> While compiler optimization should guarantee that the result of
> execution is same at all optimization levels,

That guarantee only holds for programs that fully conform to the
language standard and avoid all cases of undefined behaviour.

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