incubator-stdcxx-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Travis Vitek (JIRA)" <>
Subject [jira] Updated: (STDCXX-443) [IBM XLC++] should avoid using -qinline or -Q in C++ code
Date Thu, 06 Dec 2007 23:17:43 GMT


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  <>

	* 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:
>             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.

View raw message