IBM Support

LI75846: COMPILER ERROR WITH -QHOT

Subscribe

You can track all active APARs for this component.

 

APAR status

  • Closed as program error.

Error description

  • When compiling the following test case with HOT transformations
    on via the -qhot option, the compiler is encountering an
    internal error:
    
    
       ===== TEST CASE =====
    
    xlc -c -qhot test.c
    
    void a(char** b, const char** c, const char* d, char** e) {
        char g = 0;
        for (;;) {
            const char* h = 0;
            int i = 0;
            if (*c == d)
                break;
            h = b[**c];
            i = *h++;
            if (i == 0) {
                i = 1;
                h = &g;
            }
            (*c)++;
            do {
                *(*e)++ = *h++;
            } while (--i != 0);
        }
    }
    

Local fix

  • Avoid usage of -qhot
    

Problem summary

  • PROBLEM DESCRIPTION:
    A compiler optimization is not ending when a loop guard branch
    is not found.
    
    USERS AFFECTED:
    Users of -qhot
    

Problem conclusion

  • Corrected optimization to check if a loop guard branch is not
    found.
    

Temporary fix

Comments

APAR Information

  • APAR number

    LI75846

  • Reported component name

    XL C/C++ SLES10

  • Reported component ID

    5724U8300

  • Reported release

    A10

  • Status

    CLOSED PER

  • PE

    NoPE

  • HIPER

    NoHIPER

  • Special Attention

    NoSpecatt

  • Submitted date

    2011-01-27

  • Closed date

    2011-01-27

  • Last modified date

    2011-01-27

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

    IZ79803

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

Fix information

  • Fixed component name

    XL C/C++ SLES10

  • Fixed component ID

    5724U8300

Applicable component levels

[{"Business Unit":{"code":"BU054","label":"Systems w\/TPS"},"Product":{"code":"SSJT9L","label":"XL C\/C++"},"Platform":[{"code":"PF025","label":"Platform Independent"}],"Version":"A.1","Line of Business":{"code":"LOB08","label":"Cognitive Systems"}}]

Document Information

Modified date:
15 October 2021