Re: [gcc-4.4.5] wrong code, segfault in libtommath-0.42.0 with "-O2 -fgraphite-identity"

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

 



W dniu 2011-06-17 11:10, Ian Lance Taylor pisze:
> Many programs crash at -O2 but not at -O1.  That is because -O2
> implements more aggressive optimizations.  It does not mean that the
> compiler is wrong.
> 
> Often the program will work if you use -fno-strict-aliasing
> -fno-strict-overflow along with -O2.  If so, it still does not indicate
> a compiler bug; it indicates a program bug.

Thanks for explanation!
libtommath works with -fno-strict-aliasing -fno-strict-overflow , i
notified upstream (but i can't prepare test case ).
Regards,
Marcin.


[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