IBM Support

LI76809: 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

    LI76809

  • Reported component name

    XL C/C++ FOR LI

  • Reported component ID

    5724X1400

  • Reported release

    B10

  • Status

    CLOSED PER

  • PE

    NoPE

  • HIPER

    NoHIPER

  • Special Attention

    NoSpecatt / Xsystem

  • Submitted date

    2012-05-24

  • Closed date

    2012-05-24

  • Last modified date

    2012-05-24

  • 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/C++ FOR LI

  • Fixed component ID

    5724X1400

Applicable component levels



Document information

More support for: XL C/C++ for Linux

Software version: B10

Reference #: LI76809

Modified date: 24 May 2012