IBM Support

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

    LI76893

  • 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

    2012-07-16

  • Closed date

    2012-07-16

  • Last modified date

    2012-07-16

  • 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++ SLES10

  • Fixed component ID

    5724U8300

Applicable component levels



Document information

More support for: XL C/C++

Software version: A.1

Reference #: LI76893

Modified date: 16 July 2012


Translate this page: