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

    • Improvement
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 4.1.3
    • 4.2.1
    • Configuration
    • None
    • IBM VisualAge C++ 6.0, 7.0, and XLC++ 8.0

    • 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

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

            Dates

              Created:
              Updated:
              Resolved: