Return-Path: Delivered-To: apmail-stdcxx-issues-archive@locus.apache.org Received: (qmail 31090 invoked from network); 23 Apr 2008 00:08:46 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 23 Apr 2008 00:08:46 -0000 Received: (qmail 2456 invoked by uid 500); 23 Apr 2008 00:08:48 -0000 Delivered-To: apmail-stdcxx-issues-archive@stdcxx.apache.org Received: (qmail 2444 invoked by uid 500); 23 Apr 2008 00:08:48 -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 2433 invoked by uid 99); 23 Apr 2008 00:08:48 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 22 Apr 2008 17:08:48 -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; Wed, 23 Apr 2008 00:08:03 +0000 Received: from brutus (localhost [127.0.0.1]) by brutus.apache.org (Postfix) with ESMTP id 655D9234C0F1 for ; Tue, 22 Apr 2008 17:05:21 -0700 (PDT) Message-ID: <13986930.1208909121400.JavaMail.jira@brutus> Date: Tue, 22 Apr 2008 17:05:21 -0700 (PDT) From: "Martin Sebor (JIRA)" To: issues@stdcxx.apache.org Subject: [jira] Commented: (STDCXX-754) [HP aCC 6.16] Potential null pointer dereference in cmdopt.cpp In-Reply-To: <1796394272.1205442144773.JavaMail.jira@brutus> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org [ https://issues.apache.org/jira/browse/STDCXX-754?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12591485#action_12591485 ] Martin Sebor commented on STDCXX-754: ------------------------------------- [r650698|http://svn.apache.org/viewvc?rev=650698&view=rev] gets rid of one bogus warning only to replace it with another. The compiler now spits out the diagnostics below. Warning #4276 is caused by the compiler bug in STDCXX-889 and the new warning #20200 by the one in STDCXX-764. {noformat} aCC -c -D_RWSTDDEBUG -mt -I/amd/devco/sebor/stdcxx-4.2.x/include -I/build/sebor/stdcxx-4.2.x-aCC-6.16-15D//include -I/amd/devco/sebor/stdcxx-4.2.x/tests/include -AA -g +d +DD64 +w +W392,655,684,818,819,849 +W2193,2236,2261,2340,2401,2487 +W4227,4229,4231,4235,4237,4249 +W4255,4272,4284,4285,4286,4296,4297 +W3348 /amd/devco/sebor/stdcxx-4.2.x/tests/src/cmdopt.cpp "/amd/devco/sebor/stdcxx-4.2.x/tests/src/cmdopt.cpp", line 167: warning #4276-D: relational operator "<" always evaluates to 'false' _RWSTD_INT_MIN < opt->minval_ ^ "/amd/devco/sebor/stdcxx-4.2.x/tests/src/cmdopt.cpp", line 181: warning #4276-D: relational operator "<" always evaluates to 'false' if (_RWSTD_INT_MIN < opt->minval_) ^ "/amd/devco/sebor/stdcxx-4.2.x/tests/src/cmdopt.cpp", line 756: warning #4276-D: relational operator "<" always evaluates to 'false' && ( _RWSTD_INT_MIN < optspec->minval_ ^ "/amd/devco/sebor/stdcxx-4.2.x/tests/src/cmdopt.cpp", line 1133: remark #4315-D: while loop without body, did you insert an extra ';'? while (isspace (*++s)); ^ "/amd/devco/sebor/stdcxx-4.2.x/tests/src/cmdopt.cpp", line 513, procedure rw_vsetopts: warning #20200-D: Potential null pointer dereference through end is detected (null definition:/amd/devco/sebor/stdcxx-4.2.x/tests/src/cmdopt.cpp, line 506) {noformat} > [HP aCC 6.16] Potential null pointer dereference in cmdopt.cpp > -------------------------------------------------------------- > > Key: STDCXX-754 > URL: https://issues.apache.org/jira/browse/STDCXX-754 > Project: C++ Standard Library > Issue Type: Sub-task > Components: Test Driver > Affects Versions: 4.2.0 > Environment: $ uname -sr && aCC -V > HP-UX B.11.31 > aCC: HP C/aC++ B3910B A.06.16 [Nov 26 2007] > Reporter: Scott (Yu) Zhong > Assignee: Martin Sebor > Fix For: 4.2.1 > > Original Estimate: 2h > Remaining Estimate: 2h > > aCC -c -mt -I/amd/devco/scottz/stdcxx/4.2.x/include -I/build/scottz/12d/include -I/amd/devco/scottz/stdcxx/4.2.x/tests/include -AA +O2 +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/scottz/stdcxx/4.2.x/tests/src/cmdopt.cpp > "/amd/devco/scottz/stdcxx/4.2.x/tests/src/cmdopt.cpp", line 537, procedure rw_vsetopts: warning #20200-D: Potential null pointer dereference through next is detected (null definition:/amd/devco/scottz/stdcxx/4.2.x/tests/src/cmdopt.cpp, line 506) -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.