IBM Support

LI82125: INTERNAL COMPILER ERROR WITH OPENMP DECLARE REDUCTION

Subscribe to this APAR

By subscribing, you receive periodic emails alerting you to the status of the APAR, along with a link to the fix after it becomes available. You can track this item individually or track all items by product.

Notify me when this APAR changes.

Notify me when an APAR for this component changes.

 

APAR status

  • Closed as program error.

Error description

  • xlc++ Internal Compiler Error with OpenMP declare reduction for
    test cases that look similar to the following:
    
    class Test
    {
    public:
      int v;
      void test()
      {
    #pragma omp declare reduction(merge : int : omp_out+=omp_in)
    
    #pragma omp parallel reduction(merge: v)
        ;
      }
    };
    
    int main()
    {
      Test t;
      t.test();
    }
    

Local fix

  • N/A
    

Problem summary

  • USERS AFFECTED:
    Users who have test cases that involve a reduction variable
    which is a struct member may be affected by this issue.
    
    PROBLEM DESCRIPTION:
    The compiler did not handle the reduction clause of a struct
    member.
    

Problem conclusion

  • The compiler has been fixed by adding handling of struct member
    in a reduction clause
    

Temporary fix

Comments

APAR Information

  • APAR number

    LI82125

  • Reported component name

    XL C/C++ LINUX

  • Reported component ID

    5725C7310

  • Reported release

    G11

  • Status

    CLOSED PER

  • PE

    NoPE

  • HIPER

    NoHIPER

  • Special Attention

    NoSpecatt / Xsystem

  • Submitted date

    2021-07-20

  • Closed date

    2021-12-17

  • Last modified date

    2021-12-17

  • APAR is sysrouted FROM one or more of the following:

  • APAR is sysrouted TO one or more of the following:

Fix information

  • Fixed component name

    XL C/C++ LINUX

  • Fixed component ID

    5725C7310

Applicable component levels

[{"Line of Business":{"code":"LOB57","label":"Power"},"Business Unit":{"code":"BU058","label":"IBM Infrastructure w\/TPS"},"Product":{"code":"SSXVZZ","label":"XL C\/C++ for Linux"},"Platform":[{"code":"PF025","label":"Platform Independent"}],"Version":"G11"}]

Document Information

Modified date:
18 December 2021