IBM Support

IV85626: INTERNAL COMPILER ERROR WITH -QINCLUDE AND INVALID PREPROCESSOR DIRECTIVE

Subscribe

You can track all active APARs for this component.

 

APAR status

  • Closed as program error.

Error description

  • An internal compiler error is encountered when using the
    -qinclude option to include a header file in a source file that
    contains an invalid preprocessor directive.  The error occurs
    when using -qsource and -qshowinc to generate a source listing
    of the resulting preprocessed source.
    
    The error is sensitive to small code changes including physical
    source file size, comments, ordering or nesting of included
    files.
    
    A cut-off, partial -qsource listing file may be output.
    
    
       === EXAMPLE ===
    
    Note:  not a compilable example
    
    header.h:
    #define some_define 1
    
    /*
    
    */
    
    #include <some_header.h>
    
    
    source.c:
    #badpre
    
    int main(int argc,char *argv[]) {
     return 0;
    }
    
    
    
    $ xlc test.c -I. -qsource -qshowinc -qinclude=header.h
    xlc: 1501-230 (S) Internal compiler error; please contact your
    Service Representative. For more information visit:
    http://www.ibm.com/support/docview.wss?uid=swg21110810
    $
    

Local fix

  • Fix incorrect preprocessor directive.
    

Problem summary

  • USERS AFFECTED:
    Users of -qinclude with -qsource and -qshowinc for code
    containing an invalid preprocessing directive.
    

Problem conclusion

  • The issue has been corrected, and the compiler no longer
    encounters the error.
    

Temporary fix

Comments

APAR Information

  • APAR number

    IV85626

  • Reported component name

    XL C FOR AIX

  • Reported component ID

    5725C7100

  • Reported release

    D13

  • Status

    CLOSED PER

  • PE

    NoPE

  • HIPER

    NoHIPER

  • Special Attention

    NoSpecatt / Xsystem

  • Submitted date

    2016-06-10

  • Closed date

    2016-06-10

  • Last modified date

    2016-06-10

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

    IV84805

  • 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

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

Document Information

Modified date:
07 September 2021