IBM Support

IV67199: OPTIMIZATION WITH DEBUG CAUSING INTERNAL COMPILER ERROR AND HANG

Subscribe

You can track all active APARs for this component.

APAR status

  • Closed as program error.

Error description

  • When using the optimization with debug feature, the compiler is
    encountering an internal compiler error.  A compiler hung
    process in xlCcode is seen when using the -qsuppress=1500-029
    option along with optimization with debug.
    
    
        ==== EXAMPLE ====
    
    > xlC -g5 -O2 -c test.cpp
        1500-004: (U) INTERNAL COMPILER ERROR while compiling main.
    Compilation ended.  Contact your Service Representative and
    provide the following information: Internal abort. For more
    information visit:
    http://www.ibm.com/support/docview.wss?uid=swg21110810
    >
    >
    > xlC -g5 -O2 -c test.cpp -qsuppress=1500-029
    
        <<< HANG in xlCcode >>>
    

Local fix

  • Use either -g for debug info or -O for optimization, but not
    both.
    

Problem summary

  • PROBLEM DESCRIPTION:
    Internal compiler error or hang when using optimziation with
    debug.
    
    USERS AFFECTED:
    Users who use -O2 and -g# with union/struct in inlineable
    functions.
    

Problem conclusion

  • The issue has been fixed.
    

Temporary fix

Comments

APAR Information

  • APAR number

    IV67199

  • Reported component name

    XL C/C++ FOR AI

  • Reported component ID

    5725C7200

  • Reported release

    C10

  • Status

    CLOSED PER

  • PE

    NoPE

  • HIPER

    NoHIPER

  • Special Attention

    NoSpecatt

  • Submitted date

    2014-11-25

  • Closed date

    2015-02-26

  • Last modified date

    2015-02-26

  • 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 FOR AIX

  • Fixed component ID

    5725C7100

Applicable component levels

  • RC10 PSY

       UP



Document information

More support for: XL C for AIX
Compiler

Software version: 12.1

Reference #: IV67199

Modified date: 26 February 2015