Return-Path: Delivered-To: apmail-stdcxx-dev-archive@www.apache.org Received: (qmail 86491 invoked from network); 1 Apr 2008 23:10:42 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 1 Apr 2008 23:10:42 -0000 Received: (qmail 33485 invoked by uid 500); 1 Apr 2008 23:10:42 -0000 Delivered-To: apmail-stdcxx-dev-archive@stdcxx.apache.org Received: (qmail 33470 invoked by uid 500); 1 Apr 2008 23:10:42 -0000 Mailing-List: contact dev-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 dev@stdcxx.apache.org Received: (qmail 33461 invoked by uid 99); 1 Apr 2008 23:10:42 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 01 Apr 2008 16:10:42 -0700 X-ASF-Spam-Status: No, hits=-0.0 required=10.0 tests=SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of msebor@gmail.com designates 64.233.184.228 as permitted sender) Received: from [64.233.184.228] (HELO wr-out-0506.google.com) (64.233.184.228) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 01 Apr 2008 23:10:00 +0000 Received: by wr-out-0506.google.com with SMTP id 58so1653974wri.8 for ; Tue, 01 Apr 2008 16:10:11 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=beta; h=domainkey-signature:received:received:message-id:date:from:organization:user-agent:mime-version:to:subject:references:in-reply-to:content-type:content-transfer-encoding:sender; bh=nonlTQ9qBRRL66pFqBMxXG/MvYDnoWArQhLq49GbnvI=; b=rkNnFe3hwqY1UnfL9G+2jO9CZFsr399Xv6a+fI0maJnS+YQ3Bo1/f33hdnB/apcO4NXbZ9Xed4db8BPKlIh5lPx7HoQDeQrB7HjGe+M5pDUi9x7dcrAUs+ackr7MroNfr6ytKDRIuJen42IJLrB3cY3WWYlUBMqXsgFoukkX+kA= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=beta; h=message-id:date:from:organization:user-agent:mime-version:to:subject:references:in-reply-to:content-type:content-transfer-encoding:sender; b=F2lFl7P6BlJgh4SXjj5i6rQX1deWh78aZlhN+yXim6IGhq5WlFA7wSil4jAj37LeJnN25uciF3QrgWvHDAx1HYZiywicROjwa2d6btUeXx1IanTWGEixfKaNK3Rt8Z64OMxTvATT6zNNjbfU9qskCWQI5bXCDeq4W/zbXkMej6o= Received: by 10.114.134.20 with SMTP id h20mr13520173wad.91.1207091411285; Tue, 01 Apr 2008 16:10:11 -0700 (PDT) Received: from localhost.localdomain ( [71.229.200.170]) by mx.google.com with ESMTPS id k9sm1603351wah.3.2008.04.01.16.10.08 (version=TLSv1/SSLv3 cipher=RC4-MD5); Tue, 01 Apr 2008 16:10:10 -0700 (PDT) Message-ID: <47F2C0CC.3080008@roguewave.com> Date: Tue, 01 Apr 2008 17:10:04 -0600 From: Martin Sebor Organization: Rogue Wave Software, Inc. User-Agent: Thunderbird 2.0.0.12 (X11/20080226) MIME-Version: 1.0 To: dev@stdcxx.apache.org Subject: Re: [jira] Commented: (STDCXX-708) [HP aCC 6.15/HP-UX/IPF] 18.numeric.special.float fails assertions References: <1833084130.1207087764723.JavaMail.jira@brutus> In-Reply-To: <1833084130.1207087764723.JavaMail.jira@brutus> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit Sender: Martin Sebor X-Virus-Checked: Checked by ClamAV on apache.org Eric Lemings (JIRA) wrote: > [ https://issues.apache.org/jira/browse/STDCXX-708?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12584333#action_12584333 ] > > Eric Lemings commented on STDCXX-708: > ------------------------------------- > > Wasn't expecting Jira to automatically append that email to the comments in the issue. I didn't know you could do that either. All you need to do is send your response to issues@stdcxx.a.o. Nifty! Martin > The cross-post on the dev list shows the proper formatting. > > I changed the directive using the suggested directive from _config.h and testing it now on both HP-UX platforms. > >> [HP aCC 6.15/HP-UX/IPF] 18.numeric.special.float fails assertions >> ----------------------------------------------------------------- >> >> Key: STDCXX-708 >> URL: https://issues.apache.org/jira/browse/STDCXX-708 >> Project: C++ Standard Library >> Issue Type: Bug >> Components: Tests >> Affects Versions: trunk >> Environment: {noformat} >> $ uname -srm && aCC -V >> HP-UX B.11.31 ia64 >> aCC: HP C/aC++ B3910B A.06.15 [May 16 2007] >> {noformat} >> Reporter: Martin Sebor >> Assignee: Eric Lemings >> Fix For: 4.2.1 >> >> Original Estimate: 4h >> Time Spent: 6h >> Remaining Estimate: 0h >> >> When compiled with HP aCC 6 on HP-UX running on IPF hardware the newly added test [18.numeric.special.float.cpp|http://svn.apache.org/viewvc/stdcxx/trunk/tests/support/18.numeric.special.float.cpp] fails a bunch of assertions. >> One of them look like a configuration problem in the library (has_denorm) while others (min(), max(), and epsilon()) like problems in the test >> {noformat} >> $ nice gmake 18.numeric.special.float -r && ./18.numeric.special.float >> aCC -c -D_RWSTDDEBUG -mt -I/amd/devco/sebor/stdcxx/include \ >> -I/build/sebor/stdcxx-aCC-6.15-15D/include -I/amd/devco/sebor/stdcxx/tests/include \ >> -AA -g +d +DD64 +w +W392 +W655 +W684 +W818 +W819 +W849 +W2193 +W2236 +W2261 \ >> +W2340 +W2401 +W2487 +W4227 +W4229 +W4231 +W4235 +W4237 +W4249 +W4255 +W4272 \ >> +W4284 +W4285 +W4286 /amd/devco/sebor/stdcxx/tests/support/18.numeric.special.float.cpp >> "/amd/devco/sebor/stdcxx/include/limits", line 449: warning #4070-D: floating >> point underflow exception >> _RWSTD_STATIC_FUN (long double, (min), _RWSTD_LDBL_MIN) >> ^ >> aCC 18.numeric.special.float.o -o 18.numeric.special.float \ >> -L/build/sebor/stdcxx-aCC-6.15-15D/rwtest -lrwtest15D -AA +nostl -Wl,+s -mt +DD64 \ >> -L/build/sebor/stdcxx-aCC-6.15-15D/lib \ >> -Wl,+b/build/sebor/stdcxx-aCC-6.15-15D/lib:/build/sebor/stdcxx-aCC-6.15-15D/rwtest \ >> -lstd15D -lm >> rm 18.numeric.special.float.o >> # INFO (S1) (10 lines): >> # TEXT: >> # COMPILER: HP aCC, __HP_aCC = 61500, __EDG_VERSION__ = 308 >> # ENVIRONMENT: ia64 running hp-ux >> # FILE: 18.numeric.special.float.cpp >> # COMPILED: Jan 24 2008, 17:28:57 >> # COMMENT: floating specializations >> ############################################################ >> # CLAUSE: numeric.special >> # ASSERTION (S7) (4 lines): >> # TEXT: numeric_limits::has_denorm == -1, got 1 >> # CLAUSE: numeric.special >> # LINE: 1366 >> # ASSERTION (S7) (4 lines): >> # TEXT: numeric_limits::has_denorm == -1, got 1 >> # CLAUSE: numeric.special >> # LINE: 1366 >> # ASSERTION (S7) (4 lines): >> # TEXT: numeric_limits::min() == 3.3621e-4932, got 3.3621e-4932 >> # CLAUSE: numeric.special >> # LINE: 1253 >> # ASSERTION (S7) (4 lines): >> # TEXT: numeric_limits::max() == 1.18973e+4932, got 1.18973e+4932 >> # CLAUSE: numeric.special >> # LINE: 1254 >> # ASSERTION (S7) (4 lines): >> # TEXT: numeric_limits::epsilon() == 1.92593e-34, got 1.0842e-19 >> # CLAUSE: numeric.special >> # LINE: 1262 >> # ASSERTION (S7) (4 lines): >> # TEXT: numeric_limits::has_denorm == -1, got 1 >> # CLAUSE: numeric.special >> # LINE: 1366 >> # +-----------------------+----------+----------+----------+ >> # | DIAGNOSTIC | ACTIVE | TOTAL | INACTIVE | >> # +-----------------------+----------+----------+----------+ >> # | (S1) INFO | 1 | 1 | 0% | >> # | (S5) WARNING | 0 | 3 | 100% | >> # | (S7) ASSERTION | 6 | 134 | 95% | >> # +-----------------------+----------+----------+----------+ >> {noformat} >