Return-Path: Delivered-To: apmail-stdcxx-issues-archive@locus.apache.org Received: (qmail 10546 invoked from network); 29 Apr 2008 17:53:49 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 29 Apr 2008 17:53:49 -0000 Received: (qmail 71748 invoked by uid 500); 29 Apr 2008 17:53:42 -0000 Delivered-To: apmail-stdcxx-issues-archive@stdcxx.apache.org Received: (qmail 71725 invoked by uid 500); 29 Apr 2008 17:53:42 -0000 Mailing-List: contact issues-help@stdcxx.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@stdcxx.apache.org Delivered-To: mailing list issues@stdcxx.apache.org Received: (qmail 71694 invoked by uid 99); 29 Apr 2008 17:53:42 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 29 Apr 2008 10:53:42 -0700 X-ASF-Spam-Status: No, hits=-2000.0 required=10.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [140.211.11.140] (HELO brutus.apache.org) (140.211.11.140) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 29 Apr 2008 17:52:56 +0000 Received: from brutus (localhost [127.0.0.1]) by brutus.apache.org (Postfix) with ESMTP id CA78F234C110 for ; Tue, 29 Apr 2008 10:49:56 -0700 (PDT) Message-ID: <659859434.1209491396828.JavaMail.jira@brutus> Date: Tue, 29 Apr 2008 10:49:56 -0700 (PDT) From: "Farid Zaripov (JIRA)" To: issues@stdcxx.apache.org Subject: [jira] Created: (STDCXX-898) [MSVC] 18.numeric.special.int test fails MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org [MSVC] 18.numeric.special.int test fails ---------------------------------------- Key: STDCXX-898 URL: https://issues.apache.org/jira/browse/STDCXX-898 Project: C++ Standard Library Issue Type: Bug Components: Tests Affects Versions: 4.2.1 Environment: MSVC Reporter: Farid Zaripov Priority: Trivial Fix For: 4.2.2 The 18.numeric.special.int test fails with the following assertions: {noformat} # ASSERTION (S7) (4 lines): # TEXT: std::numeric_limits::traps == 0, got true # CLAUSE: numeric.special # LINE: 587 # ASSERTION (S7) (4 lines): # TEXT: std::numeric_limits::traps == 0, got true # CLAUSE: numeric.special # LINE: 587 # ASSERTION (S7) (4 lines): # TEXT: std::numeric_limits::traps == 0, got true # CLAUSE: numeric.special # LINE: 587 # ASSERTION (S7) (4 lines): # TEXT: std::numeric_limits::traps == 0, got true # CLAUSE: numeric.special # LINE: 587 # ASSERTION (S7) (4 lines): # TEXT: std::numeric_limits::traps == 0, got true # CLAUSE: numeric.special # LINE: 587 # ASSERTION (S7) (4 lines): # TEXT: std::numeric_limits::traps == 0, got true # CLAUSE: numeric.special # LINE: 587 # ASSERTION (S7) (4 lines): # TEXT: std::numeric_limits::traps == 0, got true # CLAUSE: numeric.special # LINE: 587 # ASSERTION (S7) (4 lines): # TEXT: std::numeric_limits::traps == 0, got true # CLAUSE: numeric.special # LINE: 587 # ASSERTION (S7) (4 lines): # TEXT: std::numeric_limits::traps == 0, got true # CLAUSE: numeric.special # LINE: 587 # ASSERTION (S7) (4 lines): # TEXT: std::numeric_limits::traps == 0, got true # CLAUSE: numeric.special # LINE: 587 # ASSERTION (S7) (4 lines): # TEXT: std::numeric_limits<_RWSTD_LONG_LONG>::traps == 0, got true # CLAUSE: numeric.special # LINE: 587 # ASSERTION (S7) (4 lines): # TEXT: std::numeric_limits::traps == 0, got true # CLAUSE: numeric.special # LINE: 587 # ASSERTION (S7) (4 lines): # TEXT: std::numeric_limits::traps == 0, got true # CLAUSE: numeric.special # LINE: 587 {noformat} Problem is in that the test unconditionally expects that numeric_limits<>::traps is false for all integral types. Perhaps we need to hardcode the expected results depending on the platform (as done in 18.numeric.special.float test). -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.