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.