Return-Path: Delivered-To: apmail-incubator-stdcxx-dev-archive@www.apache.org Received: (qmail 98132 invoked from network); 22 May 2007 16:00:59 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 22 May 2007 16:00:59 -0000 Received: (qmail 73396 invoked by uid 500); 22 May 2007 16:01:04 -0000 Delivered-To: apmail-incubator-stdcxx-dev-archive@incubator.apache.org Received: (qmail 73380 invoked by uid 500); 22 May 2007 16:01:04 -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 73369 invoked by uid 99); 22 May 2007 16:01:04 -0000 Received: from herse.apache.org (HELO herse.apache.org) (140.211.11.133) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 22 May 2007 09:01:04 -0700 X-ASF-Spam-Status: No, hits=-100.0 required=10.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [140.211.11.4] (HELO brutus.apache.org) (140.211.11.4) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 22 May 2007 09:00:58 -0700 Received: from brutus (localhost [127.0.0.1]) by brutus.apache.org (Postfix) with ESMTP id F1CF1714057 for ; Tue, 22 May 2007 09:00:37 -0700 (PDT) Message-ID: <18853544.1179849637987.JavaMail.jira@brutus> Date: Tue, 22 May 2007 09:00:37 -0700 (PDT) From: "Martin Sebor (JIRA)" To: stdcxx-dev@incubator.apache.org Subject: [jira] Created: (STDCXX-423) LIMITS.cpp assumes integers with no padding bits MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org LIMITS.cpp assumes integers with no padding bits ------------------------------------------------ Key: STDCXX-423 URL: https://issues.apache.org/jira/browse/STDCXX-423 Project: C++ Standard Library Issue Type: Bug Components: Configuration Affects Versions: 4.1.2, 4.1.3, 4.2 Environment: unknown Reporter: Martin Sebor Priority: Trivial The LIMITS.cpp config test tries to determine exact-width integer typese (the equivalent of things such as int32_t) but it fails to consider the fact that all integer types other than unsigned char may have padding bits that contribute to their size but not to their range (i.e., there may be two or more distinct bit patters that represent the same value, or bit patterns that do not correspond to any value at all). This is only an issue in theory since we know of no architecture with such a representation. -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.