21.06.2019 15:53, Alex Peshkoff via Firebird-devel wrote:
Native code was compiled w/o opimization - even with -O1 loop was optimized and test completed at once.
You always can fool optimizer changing you loop into something like this:
for (int i = 0; i < n; ++i)
{
e += (a / b) + (c * d);
a++;
c--;
if (e != c || a == d) counter++;
}
printf("fake counter %d\n", counter);
--
WBR, SD.
Firebird-Devel mailing list, web interface at
https://lists.sourceforge.net/lists/listinfo/firebird-devel
