IBM Support

IV18658: INFINITE LOOP WITH _PRAGMA OPERATOR

Subscribe

You can track all active APARs for this component.

 

APAR status

  • Closed as program error.

Error description

  • When compiling source containing a _Pragma preprocessing
    operator, the compiler is entering an infinite loop.  No memory
    is used, so the compile process uses CPU time without ever
    ending, or hitting ulimits.
    
        ===== TEST CASE =====
    
    _Pragma("comment(user,xyz;)")
    

Local fix

  • - Comment out _Pragma statement
    - Remove ';' from _Pragma statment
    

Problem summary

  • PROBLEM DESCRIPTION:
    The xlcentry compiler component encounters an infinite loop if
    there is an unexpected semi-colon ';' in a _Pragma operator.
    
    USERS AFFECTED:
    Who use _Pragma incorrectly, or incorrectly split a string in
    the middle of a macro which expands to a _Pragma.
    

Problem conclusion

  • The infinite loop was corrected and a warning message is now
    output for incorrect _Pragma usage.
    

Temporary fix

Comments

APAR Information

  • APAR number

    IV18658

  • Reported component name

    XL C FOR AIX

  • Reported component ID

    5724X1200

  • Reported release

    B10

  • Status

    CLOSED PER

  • PE

    NoPE

  • HIPER

    NoHIPER

  • Special Attention

    NoSpecatt

  • Submitted date

    2012-03-30

  • Closed date

    2012-07-05

  • Last modified date

    2012-07-05

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

    IV18657

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

Fix information

  • Fixed component name

    XL C FOR AIX

  • Fixed component ID

    5724X1200

Applicable component levels

[{"Business Unit":{"code":"BU058","label":"IBM Infrastructure w\/TPS"},"Product":{"code":"SSGH2K","label":"XL C for AIX"},"Component":"","ARM Category":[],"Platform":[{"code":"PF025","label":"Platform Independent"}],"Version":"11.1","Edition":"","Line of Business":{"code":"LOB57","label":"Power"}}]

Document Information

Modified date:
05 July 2012