Uploaded image for project: 'C++ Standard Library'
  1. C++ Standard Library
  2. STDCXX-443

[IBM XLC++] should avoid using -qinline or -Q in C++ code

    XMLWordPrintableJSON

    Details

    • Type: Improvement
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 4.1.3
    • Fix Version/s: 4.2.1
    • Component/s: Configuration
    • Labels:
      None
    • Environment:

      IBM VisualAge C++ 6.0, 7.0, and XLC++ 8.0

    • Patch Info:
      Patch Available

      Description

      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.

        Attachments

        1. stdcxx-443.patch
          0.4 kB
          Travis Vitek

          Activity

            People

            • Assignee:
              vitek Travis Vitek
              Reporter:
              sebor Martin Sebor
            • Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: