Return-Path: Delivered-To: apmail-stdcxx-issues-archive@locus.apache.org Received: (qmail 4598 invoked from network); 13 Feb 2008 22:55:50 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 13 Feb 2008 22:55:50 -0000 Received: (qmail 30409 invoked by uid 500); 13 Feb 2008 22:53:27 -0000 Delivered-To: apmail-stdcxx-issues-archive@stdcxx.apache.org Received: (qmail 30391 invoked by uid 500); 13 Feb 2008 22:53:27 -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 30382 invoked by uid 99); 13 Feb 2008 22:53:27 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 13 Feb 2008 14:53:27 -0800 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.4] (HELO brutus.apache.org) (140.211.11.4) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 13 Feb 2008 22:53:03 +0000 Received: from brutus (localhost [127.0.0.1]) by brutus.apache.org (Postfix) with ESMTP id F1F2D714043 for ; Wed, 13 Feb 2008 14:53:09 -0800 (PST) Message-ID: <17962183.1202943189958.JavaMail.jira@brutus> Date: Wed, 13 Feb 2008 14:53:09 -0800 (PST) From: "Martin Sebor (JIRA)" To: issues@stdcxx.apache.org Subject: [jira] Commented: (STDCXX-726) [HP aCC 6.16] many cadvise warnings In-Reply-To: <509587.1202937428363.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-726?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12568738#action_12568738 ] Martin Sebor commented on STDCXX-726: ------------------------------------- Here's a breakdown from a 12D build of trunk at r620132 with aCC 6.15: ||Warning||Count||Description|| |20010|1|Floating-point DIVIDE BY ZERO exception generated| |20035|2|variable is used before its value is set| |20200|90|Potential null pointer dereference is detected| |20201|9|Memory leak is detected| |20203|5|Potential out of scope use of local| |20206|40|Out of bound access| |20208|4|Forming out of bound address| |20210|2|Mismatch in allocation and deallocation| > [HP aCC 6.16] many cadvise warnings > ----------------------------------- > > Key: STDCXX-726 > URL: https://issues.apache.org/jira/browse/STDCXX-726 > Project: C++ Standard Library > Issue Type: Bug > Components: Build > 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: Martin Sebor > Assignee: Martin Sebor > Fix For: 4.2.1 > > Original Estimate: 8h > Remaining Estimate: 8h > > The HP aCC 6.15 and 6.16 builds are full of [cadvise|http://www.hp.com/go/cadvise] (static analysis tool) warnings: > {noformat} > $ W=` gunzip -c hpux-11.31-ia64-acc-6.15-15S-620132-log.gz \ > | sed -n "s/.*: warning #\(2[0-9][0-9][0-9][0-9]\)-.:.*/\1/p" \ > | sort | uniq`; \ > for w in $W; do \ > n=`gunzip -c hpux-11.31-ia64-acc-6.15-15S-620132-log.gz | grep ": warning #$w-.:" | wc -l`; \ > echo "$w $n"; \ > done > 20200 110 > 20201 13 > 20203 5 > 20206 8 > 20210 2 > {noformat} > The warnings are: > ||Warning||Description|| > |20200|Potential null pointer dereference is detected| > |20201|Memory leak is detected| > |20203|Potential out of scope use of local variable| > |20206|Out of bound access| > |20210|Mismatch in allocation and deallocation| -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.