Return-Path: Delivered-To: apmail-incubator-stdcxx-dev-archive@www.apache.org Received: (qmail 58497 invoked from network); 27 Mar 2007 16:59:13 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 27 Mar 2007 16:59:13 -0000 Received: (qmail 81544 invoked by uid 500); 27 Mar 2007 16:59:20 -0000 Delivered-To: apmail-incubator-stdcxx-dev-archive@incubator.apache.org Received: (qmail 81533 invoked by uid 500); 27 Mar 2007 16:59:20 -0000 Mailing-List: contact stdcxx-dev-help@incubator.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: stdcxx-dev@incubator.apache.org Delivered-To: mailing list stdcxx-dev@incubator.apache.org Received: (qmail 81518 invoked by uid 99); 27 Mar 2007 16:59:20 -0000 Received: from herse.apache.org (HELO herse.apache.org) (140.211.11.133) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 27 Mar 2007 09:59:20 -0700 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests= X-Spam-Check-By: apache.org Received-SPF: pass (herse.apache.org: local policy) Received: from [208.30.140.160] (HELO moroha.quovadx.com) (208.30.140.160) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 27 Mar 2007 09:59:12 -0700 Received: from qxvcexch01.ad.quovadx.com ([192.168.170.59]) by moroha.quovadx.com (8.13.6/8.13.6) with ESMTP id l2RGwpdN023939 for ; Tue, 27 Mar 2007 16:58:51 GMT Received: from [10.70.3.113] ([10.70.3.113]) by qxvcexch01.ad.quovadx.com with Microsoft SMTPSVC(6.0.3790.1830); Tue, 27 Mar 2007 10:58:42 -0600 Message-ID: <46094D51.3090205@roguewave.com> Date: Tue, 27 Mar 2007 10:58:57 -0600 From: Martin Sebor Organization: Rogue Wave Software User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.8.1.2) Gecko/20070221 SeaMonkey/1.1.1 MIME-Version: 1.0 To: stdcxx-dev@incubator.apache.org Subject: Re: incorrect pass rate for 23.deque.iterators on Windows References: <7BDB2168BEAEF14C98F1901FD2DE6438594C56@epmsa009.minsk.epam.com> In-Reply-To: <7BDB2168BEAEF14C98F1901FD2DE6438594C56@epmsa009.minsk.epam.com> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-OriginalArrivalTime: 27 Mar 2007 16:58:42.0995 (UTC) FILETIME=[2CF1A030:01C77091] X-Virus-Checked: Checked by ClamAV on apache.org 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