Return-Path: Delivered-To: apmail-incubator-stdcxx-dev-archive@www.apache.org Received: (qmail 34197 invoked from network); 6 Dec 2007 23:18:06 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 6 Dec 2007 23:18:06 -0000 Received: (qmail 90238 invoked by uid 500); 6 Dec 2007 23:17:55 -0000 Delivered-To: apmail-incubator-stdcxx-dev-archive@incubator.apache.org Received: (qmail 90226 invoked by uid 500); 6 Dec 2007 23:17:55 -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 90215 invoked by uid 99); 6 Dec 2007 23:17:55 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 06 Dec 2007 15:17:55 -0800 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; Thu, 06 Dec 2007 23:18:04 +0000 Received: from brutus (localhost [127.0.0.1]) by brutus.apache.org (Postfix) with ESMTP id 8854571425F for ; Thu, 6 Dec 2007 15:17:43 -0800 (PST) Message-ID: <7014053.1196983063554.JavaMail.jira@brutus> Date: Thu, 6 Dec 2007 15:17:43 -0800 (PST) From: "Travis Vitek (JIRA)" To: stdcxx-dev@incubator.apache.org Subject: [jira] Updated: (STDCXX-443) [IBM XLC++] should avoid using -qinline or -Q in C++ code In-Reply-To: <12375446.1181261665937.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-443?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Travis Vitek updated STDCXX-443: -------------------------------- Attachment: stdcxx-443.patch Well, I don't really have a preference about leaving or removing this flag. It doesn't seem to have any harmful effects. The difference with the flag off is minimal, and it _appears_ that only a few additional functions are getting inlined with the option on. 2007-12-06 Travis Vitek STDCXX-443 * etc/config/vacpp.config: Remove -Q compile flag for AIX optimized builds to be consistent with IBM documentation. > [IBM XLC++] should avoid using -qinline or -Q in C++ code > --------------------------------------------------------- > > Key: STDCXX-443 > URL: https://issues.apache.org/jira/browse/STDCXX-443 > Project: C++ Standard Library > Issue Type: Improvement > Components: Configuration > Affects Versions: 4.1.3 > Environment: IBM VisualAge C++ 6.0, 7.0, and XLC++ 8.0 > Reporter: Martin Sebor > Assignee: Travis Vitek > Fix For: 4.2.1 > > Attachments: stdcxx-443.patch > > > Quoting from the XLC++ 8.0 Compiler Reference, page 249 (-Q option): > To maximize inlining: > * for C programs, specify optimization (-O) and also specify the appropriate -Q options for the C language. > * for C++ programs, specify optimization (-O) but do not specify the -Q option. > We should review whether our use of -Q in optimized builds is called for. -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.