IBM Support

Internal Compiler Error

Technote (troubleshooting)


Problem(Abstract)

This page provides details about the internal compiler error. It explains what actions you can take if you experience this error.

Cause

The compiler generates the internal compiler error message when it encounters an exception from which it cannot recover. In almost all cases the internal compiler error can be attributed to the compiler code.

Resolving the problem

The first step you could take is to install the latest compiler update (C/C++, Fortran, COBOL for AIX, PL/I for AIX, PL/I for z/OS), if not already on the system, and verify whether the problem has been corrected. If the error is still present, you may report it to your local IBM technical support center or OEM provider, depending on where you obtained the compiler. Your service request may be subject to a valid software maintenance agreement - for more information contact IBM Software Support or your OEM provider.

Typically, a self-contained test case will be required so that the support team can recreate the problem. If preprocessing is a part of the compilation, then the easiest way is to capture the preprocessor output from the file that triggers the error (see compiler documentation for details). Otherwise, include all the required source code such as source, header, include or module files. Also, submit your compiler options and other relevant information about your build environment.

There are some methods you can try to temporarily work around the internal compiler error. If you are able to pinpoint the actual line or block of code that triggers the error, you may try to modify that code until the error is gone. Sometimes the internal compiler error is caused by a particular compiler option. If you are able to identify the option, try removing it if possible. If you are also able to isolate the source file that triggers the error, you may try to compile that file separately from the rest of your build.

Related information

IBM Software Support home page
IBM PartnerWorld Support home page
IBM Software Support Handbook
XL C/C++ documentation (System p)
XL C/C++ documentation (System z)
XL Fortran documentation
Latest updates for XL C/C++ compilers
Latest updates for XL Fortran compilers
Latest updates for IBM COBOL for AIX compiler
Where are the PL/I for AIX PTFs located?
Latest enterprisePL/I compiler service info on z/OS

Cross reference information
Segment Product Component Platform Version Edition
Software Development XL C/C++ Advanced Edition for Blue Gene Compiler Blue Gene/L, Blue Gene/P All Versions Advanced
Software Development XL C/C++ for Linux Compiler Linux All Versions Not Applicable
Software Development XL C/C++ for AIX Compiler AIX All Versions Not applicable
Software Development XL C for AIX Compiler AIX All Versions Not Applicable
Software Development XL C/C++ for Multicore Acceleration for Linux Compiler Linux All Versions Not Applicable
Software Development XL Fortran for AIX Compiler AIX All Versions Not Applicable
Software Development XL Fortran for Linux Compiler Linux All Versions Not Applicable
Software Development XL Fortran for Multicore Acceleration for Linux Compiler Linux on Power 11.1 Not Applicable
Software Development XL Fortran Advanced Edition for Blue Gene Compiler Blue Gene/L, Blue Gene/P All Versions Advanced
Software Development Enterprise PL/I for z/OS Compile OS/390, z/OS 3.6, 3.7, 3.8, 3.9 Enterprise
Software Development PL/I for AIX Compiler AIX 2.0 All Editions
Software Development COBOL for AIX Compiler AIX 2.0, 3.1 All Editions

Document information

More support for: XL C/C++
Compiler

Software version: 5.0, 6.0, 7.0, 8.0, 8.0.1, 9.0, 9.2.11, 10.1, 11.1, 12.1

Operating system(s): Platform Independent

Software edition: All

Reference #: 1110810

Modified date: 31 March 2010