IBM Support

IJ15498: INTERNAL COMPILER ERROR in XL C/C++ for AIX, V16.1 when compiling with xlc -O

Subscribe

You can track all active APARs for this component.

 

APAR status

  • Closed as program error.

Error description

  • INTERNAL COMPILER ERROR occurs in V16.1 when compiling the
    following test case with xlc -O
    
    ----------------------------------------------------------------
    1500-004: (U) INTERNAL COMPILER ERROR while compiling g@AF4_1.
    Compilation ended.  Co tact your Service Representative and
    provide the following information: GRARNN: gr595 is  sed before
    it is defined. For more information visit:
    http://www.ibm.com/support/docview.
    wss?uid=swg21110810
    ================================================================
    ====TESTCASE:
    
    int a;
    int b;
    int f(void);
    void d(int e) {
      if (e) {
        f();
        if (b)
            ;
      }
    }
    void g(void) {
      d(a);
      if (a)
        a = 0;
    }
    

Local fix

  • N/A
    

Problem summary

  • USERS AFFECTED:
    Clients who use the  XL C/C++ for AIX, V16.1 compiler and use
    the -O option may be affected by this issue.
    
    PROBLEM DESCRIPTION:
    An Internal Compiler Error occurs because an internal register
    is used before defined
    

Problem conclusion

  • An internal optimization bug was fixed in the compiler backend
    

Temporary fix

Comments

APAR Information

  • APAR number

    IJ15498

  • Reported component name

    XL C/C++ FOR AI

  • Reported component ID

    5725C7200

  • Reported release

    G10

  • Status

    CLOSED PER

  • PE

    NoPE

  • HIPER

    NoHIPER

  • Special Attention

    NoSpecatt / Xsystem

  • Submitted date

    2019-04-15

  • Closed date

    2019-06-12

  • Last modified date

    2019-06-12

  • 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++ FOR AI

  • Fixed component ID

    5725C7200

Applicable component levels

[{"Business Unit":{"code":"BU048","label":"IBM Software"},"Product":{"code":"SSGH3R","label":"XL C\/C++ for AIX"},"Component":"","ARM Category":[],"Platform":[{"code":"PF025","label":"Platform Independent"}],"Version":"G10","Edition":"","Line of Business":{"code":"LOB73","label":"Power TPS"}}]

Document Information

Modified date:
21 August 2024