Farid Zaripov wrote:
[...]
  The difference between asserts on UNIX and MSVC is because of the
following lines of the test
23.deque.iterators.cpp, line 259:

Thanks for looking into it!

-----------------------
#ifndef _RWSTD_NO_REPLACEABLE_NEW_DELETE
// replacement operator new is expensive, avoid long runtimes
unsigned rw_opt_nloops = 6;      // for --nloops
#else
unsigned rw_opt_nloops = 10;     // for --nloops
#endif
-----------------------

Interesting. I would expect fewer loops to mean fewer assertions,
not more.


  The invalid percents value (44%) have been calculated as (driver.cpp,
line 1059):

long (77810809 * 100) / 77810809 == 3486113604 / 77810809 = 44.

I see, it is a case of integer overflow, but it's in the driver
rather than in exec. Let me fix it.

Martin

Reply via email to